HNHacker News
TopNewBestAskShowJobs

frfrrf

1 karma · joined December 25, 2024

submissionscomments
frfrrf··on Show HN: FixBrowser – a lightweight web browser created from scratch
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.

frfrrf··on Show HN: FixBrowser – a lightweight web browser created from scratch
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)

frfrrf··on Show HN: FixBrowser – a lightweight web browser created from scratch
>Plain and simple C99+ port?

C89 bindings https://github.com/MoAlyousef/cfltk

frfrrf··on Show HN: FixBrowser – a lightweight web browser created from scratch
>Then it is c++, then a definitive nono.

Language with OOP is good for GUI!

frfrrf··on Show HN: FixBrowser – a lightweight web browser created from scratch
Look at FLTK's source code. It's a minimal set of C++. Like C with classes.
frfrrf··on Show HN: FixBrowser – a lightweight web browser created from scratch
>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!