News for hackers. Stuff that matters.
Re:Dear ImGui – Bloat-free graphical user interface library ... by HelloNurse on Wednesday November 04, 2020 @06:17AM (#24988069)
Avoiding the burden of a "widget tree" that duplicates application state in complicated, inefficient and error-prone ways is more or less the whole point of reconstructing the whole GUI every frame from data structures that deserve to exist.
Re:Dear ImGui – Bloat-free graphical user interface library ... by flohofwoe on Wednesday November 04, 2020 @06:31AM (#24988128)
Agreed, but in traditional UI toolkits this burden is on the user-side. If the widget tree is hidden away inside the library it becomes just an internal implementation detail, a caching structure which might help make some things more efficient. Proof is in the pudding of course.