News for hackers. Stuff that matters.
Re:Show HN: I rewrote my Mac Electron app in Rust by jppittma on Thursday May 29, 2025 @05:50AM (#44124477)
Having worked on a graphical application in rust for a (albeit not a complex one) computers today are fast.. latencies top out at 3 ms with cpu based rendering in an application with just a few rendering optimizations.

The fact that you just draw on the screen instead of doing whatever html parsing / DOM/IR is probably doing it? And doing rendering on the gpu means extra delay in the processing moving from cpu to gpu and being a frame behind because of vsync.

Re:Show HN: I rewrote my Mac Electron app in Rust by HumanOstrich on Thursday May 29, 2025 @06:02AM (#44124538)
Can you clarify this? Seems to me that no matter how you render your UI, it has to go to the GPU framebuffer at some point.

For any non-trivial case where I can enable GPU acceleration for an app, it's been anywhere from equivalent to much more responsive.

What apps have you experienced delays with by enabling GPU acceleration?

Re:Show HN: I rewrote my Mac Electron app in Rust by mike_hearn on Thursday May 29, 2025 @02:46PM (#44128974)
Where it really shows up is stuff like power usage and reliably hitting framerates even on slow machines with big hi-res monitors attached.