Re:Upcoming Rust language features for kernel development
by cosmic_cheese on Thursday October 16, 2025 @06:51AM
(#45603840)
Indeed. Last I knew all the Rust UI libraries were declarative and/or immediate mode, both of which have their place but I’m not convinced that they’re suitable in all situations. Sometimes you need a boring “old style” imperative UI framework with deep toolbox of capable widgets (think AppKit, win32, etc), but that’s notably absent in the Rust world.
[ Parent
| on HN ]
Re:Upcoming Rust language features for kernel development
by timschmidt on Thursday October 16, 2025 @06:53AM
(#45603857)
https://www.gpui.rs/ is a relatively new entrant which is described as "hybrid immediate and retained mode". Maybe worth checking out for your use cases.
Immediate mode was certainly a different paradigm to wrap my head around, but so far I haven't found anything I couldn't accomplish with egui, including some fairly complex applications like https://timschmidt.github.io/alumina-interface/
Re:Upcoming Rust language features for kernel development
by timeon on Thursday October 16, 2025 @07:10AM
(#45603955)
How far from "old style" is Slint?
Re:Upcoming Rust language features for kernel development
by cosmic_cheese on Thursday October 16, 2025 @10:44AM
(#45605996)
From a quick glance, about as far as the other Rust toolkits. Looks declarative with with a relatively small number of more basic widgets (a lot of custom widget code is necessary), as opposed to e.g. AppKit which is imperative and comes with a great number of rich widgets that are ready to use out of the box.