frfrrf
Re:Show HN: FixBrowser – a lightweight web browser created from scratch
on Wednesday December 25, 2024 @07:44PM (#42512311)
Compare dependencies:
GTK3 https://gitlab.archlinux.org/archlinux/packaging/packages/gt... GTK4 https://gitlab.archlinux.org/archlinux/packaging/packages/gt... and FLTK https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fltk-...
If you build FLTK with Wayland support, then add deps: wayland, libxkbcommon, pango.
Re:Show HN: FixBrowser – a lightweight web browser created from scratch
on Wednesday December 25, 2024 @04:42PM (#42511362)
As for complexity and gigantism:
https://openhub.net/p/qt5 (8,876,034 lines of code)
https://openhub.net/p/gtk (1,031,203 lines of code)
https://openhub.net/p/fltk (467,564 lines of code)
Re:Show HN: FixBrowser – a lightweight web browser created from scratch
on Wednesday December 25, 2024 @10:37AM (#42509285)
>Plain and simple C99+ port?
C89 bindings https://github.com/MoAlyousef/cfltk
Re:Show HN: FixBrowser – a lightweight web browser created from scratch
on Wednesday December 25, 2024 @10:28AM (#42509239)
>Then it is c++, then a definitive nono.
Language with OOP is good for GUI!
Re:Show HN: FixBrowser – a lightweight web browser created from scratch
on Wednesday December 25, 2024 @10:19AM (#42509190)
Look at FLTK's source code. It's a minimal set of C++. Like C with classes.
Re:Show HN: FixBrowser – a lightweight web browser created from scratch
on Wednesday December 25, 2024 @08:21AM (#42508658)
>Planned support for systems in the near future: Linux GTK3/4
FLTK is better then GTK on linux. Since version 1.4 FLTK supports HighDPI displays and Wayland https://www.fltk.org/articles.php?L1947 GTK3/4 and Qt5/6 are bloatware!