logoalt Hacker News

shooly • today at 2:18 AM • 1 reply • view on HN

First you complain about lack of empirical evidence in discussions about rendering, and then you yourself argue against retained mode UIs using purely anecdotal evidence.

You are also often comparing imgui/egui - a specific implementation of the immediate mode concept to the whole concept of retained mode UI.

> 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> or <svg>. If you're implementing retained mode in a custom application - well it also must have some way to draw things on the screen.


Replies

__benny__ • today at 2:50 AM

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?