I'm currently building a complex app on GPUI. It has both immediate and retained mode. And no, without retained mode it is impossible to obtain fast speeds. Complex gui's take time to render. You simply can't be re-rendering things all the time.
And the minute you start going along the lines of "well why don't you cache unchanged parts of the UI as images" now you may as well go for a retained mode UI because you're reinventing the wheel.
Data point from building a fairly complex egui app (Ferrite, a Markdown/JSON/YAML editor; I'm the author): immediate mode wasn't the bottleneck, the stock TextEdit was. With a custom rope buffer and virtual scrolling it handles 100 MB+ files
Replies (2)
Replies (1)
And the minute you start going along the lines of "well why don't you cache unchanged parts of the UI as images" now you may as well go for a retained mode UI because you're reinventing the wheel.