News for hackers. Stuff that matters.
Re:ZapFast: A fast, native WhatsApp client in Rust and egui by LoganDark on Sunday November 08, 2026 @12:31AM (#50410677)
> Why there is no reactive UI that tracks all dependencies and redraws only what needs to be redrawn?

Nowadays the focus seems to be on video game-style interfaces that redraw every frame. The justification for this is typically that computers are so fast they can now come up with the entire interface every frame, so why not take advantage of that and forget all this retained-mode complexity?

They don't realize that this is a classic case of the developer's machine fallacy, where the developer has a machine so vastly more powerful than any of their users' that they produce a terrible experience for said users. This is also why games these days typically require upscaling even on 5090, because developers usually have that or something even more powerful and they think the bleeding edge is pushing even THAT machine to its knees.

Developers should be testing their software on the most entry-level, bottom of the barrel Chromebooks from 2015, running the heaviest and most bloated operating system they can think of. If people still optimized their software for that, then maybe computers would still feel almost as fast as the Apple II from 1977.

https://danluu.com/input-lag/

Re:ZapFast: A fast, native WhatsApp client in Rust and egui by codedokode on Sunday November 08, 2026 @12:36AM (#50410703)
And obviously all computers have infinite capacity batteries to maintain game-level power consumption.
Re:ZapFast: A fast, native WhatsApp client in Rust and egui by rixed on Sunday November 08, 2026 @02:09AM (#50411084)
[delayed]
Re:ZapFast: A fast, native WhatsApp client in Rust and egui by LoganDark on Sunday November 08, 2026 @02:09AM (#50411085)
That's actually a very good point, I haven't seen any care for power consumption from software developers in many many years. The only people who seem to still care about it are hardware developers like Valve and Apple.

I figure that doing less work generally requires less power, but some developers are crazy and act like they own the whole CPU, generate tons of heat, stress out the cooling system etc. with multithreaded bullshit when they did NOT need to be multithreaded.

Re:ZapFast: A fast, native WhatsApp client in Rust and egui by proneb1rd on Sunday November 08, 2026 @03:54AM (#50411524)
Not sure why multi threading is a victim. It really depends.
Re:ZapFast: A fast, native WhatsApp client in Rust and egui by LoganDark on Sunday November 08, 2026 @04:43AM (#50411762)
It does indeed depend.

Some multithreaded workloads will use the full logical processor count to pin every core and that can really suck on low-end systems. I think aside from balancing multithreading overhead, this is one of the reasons why some more advanced software (such as 7-Zip) lets you select the number of threads to use for a workload, even if you already know and accept that it'll be expensive until it's completed.

Lots of multithreading things I come across as a developer have a default of something like 4 threads, or only use a certain fraction of logical cores up to a certain maximum, etc. because it's generally more polite not to always pin every core.

Re:ZapFast: A fast, native WhatsApp client in Rust and egui by SkiFire13 on Sunday November 08, 2026 @05:55AM (#50412144)
Depending on what you're doing GPU accelerated rendering is more battery friendly than CPU rendering though.
Re:ZapFast: A fast, native WhatsApp client in Rust and egui by LoganDark on Sunday November 08, 2026 @05:59AM (#50412165)
Drawing the entire interface is more expensive than drawing only what changed, though. You don't have to give up the GPU for that.