News for hackers. Stuff that matters.
Re:Dear ImGui – Bloat-free graphical user interface library ... by forrestthewoods on Wednesday November 04, 2020 @11:56AM (#24990740)
I’m not entirely sure this is true in practice.

Games can render huge, vibrant, dynamic 3D worlds at 60fps and increasingly at >120Hz rates. Web browsers lag if a piece of dust falls on the wrong spot.

I agree with you in theory. But in practice retained mode is a mountain range or complexity and doesn’t actually perform better.

Re:Dear ImGui – Bloat-free graphical user interface library ... by malkia on Wednesday November 04, 2020 @04:19PM (#24993164)
Games also require said GPU computing power. Lots of UI may have to conserve power/energy - think about some IoT device that may not even have GPU, and need to use as little as possible energy.
Re:Dear ImGui – Bloat-free graphical user interface library ... by forrestthewoods on Wednesday November 04, 2020 @04:47PM (#24993373)
Or smartphones where you want to conserve battery life.

I think people dramatically overestimate the cost to perform simple UI layout. There’s no reason that CPU time should be more than 1ms single-thread for most apps. GPU time should be similarly small. Modern smartphone supercomputers are FAST!