logoalt Hacker News

zemtoday at 6:39 PM1 replyview on HN

fltk is c++ based which makes language bindings significantly harder in general. gtk is c based which worked out really well in that aspect.


Replies

gen2braintoday at 6:50 PM

Sure, you need to wrap it in C, but there is also `cfltk` that is maintained and used in Rust bindings. Btw., the difference in memory usage is huge with GTK4. FLTK hello world is ~10M, GTK3 is ~15M, GTK4 is 40M! With Cairo rendering, it's about 30M, but still a lot.

show 2 replies