4 ms·
fltk is c++ based which makes language bindings significantly harder in general. gtk is c based which worked out really well in that aspect.
by zem 2mo ago
fltk is c++ based which makes language bindings significantly harder in general. gtk is c based which worked out really well in that aspect.
- gen2brain 2mo agoSure, 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.
- zem 2mo agoah neat, I wasn't aware that cfltk was already used by rust.
- Levitating 2mo agoGTK4 memory usage is ludicrous
- fithisux 2mo agoThere is cflt and Freebasic FLTK