logoalt Hacker News

pixelpoetyesterday at 4:07 PM4 repliesview on HN

This is the exact opposite of what I want, actually: imgui keeps promising an official mode that doesn't totally melt the machine from running at peak refresh rate the entire time (since it was developed for games, not normal desktop apps), but it never materialises, and the hacks we all implement ourselves stop working as they update the code etc.

Everyone seems to want 9234567345863489634589 fps, when that's IMO completely absurd for a normal desktop app, e.g. editor! What you actually want is low latency, not constant massive bandwidth and power usage. If all your normal desktop apps constantly ran at uncapped FPS, your computer would scream and laptops wouldn't last 5 minutes on battery.


Replies

ocornutyesterday at 9:19 PM

I promise it’s coming eventually but I don’t believe the custom version is hard to make to work either.

show 1 reply
64718283661yesterday at 4:24 PM

It should be running at 0 fps, then when there is movement it should run at refresh rate.

show 1 reply
gr4vityWallyesterday at 4:28 PM

Wouldn't it look stuttery if the user tried to drag windows or other widgets with a limited framerate?

> What you actually want is low latency

High frame rates directly contribute to lowering latency.

I guess I'm the polar opposite of you here, I heavily prefer low latency/high refresh rates over low CPU/GPU usage, as long as the machine is plugged in to a power source.

show 1 reply
pdntspayesterday at 4:39 PM

> This is the exact opposite of what I want, actually: imgui keeps promising an official mode that doesn't totally melt the machine from running at peak refresh rate the entire time

I don't know what to tell you when you're fucking with an immediate mode UI library...

show 2 replies