Re:Advice for the next 100 Rust GUIs
by __benny__ on Saturday November 21, 2026 @09:50PM
(#50595741)
I'm not arguing against retained mode UI systems, I'm arguing that some of the criticisms of imgui's are unfounded. A lack of empirical evidence is relevant for that.
I used Egui as an example because that's relevant to the shared article. When I say "imgui" I am talking about the paradigm, not Dear Imgui.
In manu retained mode UI systems you can break out of the paradigm with a Canvas element, but that is quite different from an imgui - it's akin to using a 2d drawing API like Skia.
> Absolute nonsense.
How so?
You are also often comparing imgui/egui - a library, to retained mode - a concept.
> in an imgui [...] adding more widgets or more frequent updates have a negligible performance impact
Absolute nonsense.
> Retained mode [...] hope that the system is flexible enough to support what you want, whereas with an imgui you can just directly draw and shade geometry
At least in browsers you can just use <canvas /> if you need to do that. If you're implementing retained mode in a custom application - well it also must have some way to draw things on the screen.