2026-06-07 07:05 UTC
Rust is designed around zero-cost abstractions and safety. Alas, the typical Rust application reinvents the wheel and then statically links it. To allow for a single-source tree that compiles to a single binary per OS, I have been implementing rustxwidgets. The code and the API are just prototypes, but I have managed to support GTK, WASM, and Windows with a single cross-platform source code base. Support of (pa)ncurses and Zork is ongoing. The GTK binary is 600K and should run on any machine that has GTK3 or 4 (e.g. pretty much anything with a GUI, including distributions like Kubuntu that are built on KDE instead of GTK)
#gtk #rust #ncurses #GUI #WASM #toolkit
Replies (0)
No replies.