Hacker News new | ask | show | jobs
by wdfx 1957 days ago
I've worked on an app with an IMGUI on canvas. It was amazingly fast and responsive. Nothing which was built after that to try and replace it was anywhere near as performant.
1 comments

Given how IMGUI is a bunch of branches with code that redraws the same pixels all the time, 60x per second, I'm still surprised this is considered very (if not most) efficient UI. It would imply retained-mode UI frameworks are strongly undershooting their theoretically possible performance.
See for yourself ;)

https://floooh.github.io/sokol-html5/imgui-highdpi-sapp.html

There are also demos for other immediate-mode UI systems on the parent page (Nuklear and microui):

https://floooh.github.io/sokol-html5/

As I wrote in another thread, Immediate Mode UI doesn't imply how the UI rendering is implemented, only how the API works.