3 ms·
>Plain and simple C99+ port? C89 bindings https://github.com/MoAlyousef/cfltk https://github.com/MoAlyousef/cfltk
by frfrrf 2y ago
>Plain and simple C99+ port?
C89 bindings https://github.com/MoAlyousef/cfltk https://github.com/MoAlyousef/cfltk
- sylware 2y agoThe second your require a gigantic and insanely complex c++ and similar compiler for your SDK, it's over.
- frfrrf 2y agoAs for complexity and gigantism: https://openhub.net/p/qt5 https://openhub.net/p/qt5 (8,876,034 lines of code) https://openhub.net/p/gtk https://openhub.net/p/gtk (1,031,203 lines of code) https://openhub.net/p/fltk https://openhub.net/p/fltk (467,564 lines of code)
- sylware 2y agoYou have an "amplification" due to the language used: you cannot compare the "cost" of C lines with c++ lines. They don't pull the same SDK dependency in the end. Basically, to be fair, in qt5 and fltk cases you should add an amplification factor of at least "10" (probably not big enough since c++ syntax and tens of times more complex than plain C99+).
- frfrrf 2y agoCompare dependencies: GTK3 https://gitlab.archlinux.org/archlinux/packaging/packages/gtk3/-/raw/main/PKGBUILD?ref_type=heads https://gitlab.archlinux.org/archlinux/packaging/packages/gt... GTK4 https://gitlab.archlinux.org/archlinux/packaging/packages/gtk4/-/raw/main/PKGBUILD?ref_type=heads https://gitlab.archlinux.org/archlinux/packaging/packages/gt... and FLTK https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fltk-git https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fltk-... If you build FLTK with Wayland support, then add deps: wayland, libxkbcommon, pango.
- sylware 2y agoYou don't seem to understand my point: the second you are using c++, it is over.