Re:Why modern software is slow
by 8n4vidtmkvmk on Thursday September 29, 2022 @10:53PM
(#33030328)
then make it efficient. overallocate a block of memory and use it for all your tiny ui elements. its exactly what games do.
[ Parent
| on HN ]
Arena allocators only work when everything has the same lifetime.
There are game-like UI libraries (https://github.com/ocornut/imgui) but to use them you have to write your program like you're a gamedev and Conway's Law usually fights that.