Remix.run Logo
▲ Barrin92 a day ago

>What is the argument here?

it's an incredible waste of resources, especially at high resolutions, to redraw a Gui application like you would a videogame at 60 FPS. These immediate mode UI frameworks were made in particular for that case, to be embedded in real time software, not for a UI where the state is idle or changes only occasionally.

▲piker a day ago | parent [-]

You only redraw when there’s interaction. In exchange you use basically no memory for state retention which frees up the real resource constraint.

▲v1ne a day ago | parent | next [-]

Redrawing the whole thing consumes resources. That's power and resources not available to other tasks. There is value in being clever with what you draw.

▲piker 20 hours ago | parent [-]

Yes but it comes at the trade off persistent memory usage. It isn’t just free, and depending on the application in question that may be a lot better trade to make if, say, the app runs in the background or is rarely interacted with.

▲codedokode 18 hours ago | parent | prev [-]

Moving the mouse is an interaction because there are hover effects.