News for hackers. Stuff that matters.
Re:“Clean” Code, Horrible Performance by ilyt on Tuesday February 28, 2023 @04:52PM (#34975383)
> Look, most modern software is spending 99.9% of the time waiting for user input, and 0.1% of the time actually calculating something. If you're writing a AAA video game, or high performance calculation software then sure, go crazy, get those improvements.

CPU meter when clicking anything on "modern" webpage proves that's a lie.

Also, sure, even if "clicking on things" is maybe 1-5% vs "looking at things" THAT'S THE CRITICAL PATH.

Once the app rendered a view obviously it is not doing much but user is also not waiting on anyting and is "being productive", parsing whatever is displayed.

The critical path, the wasted time is the time app takes to render stuff and "but 99% of the time is not doing it" is irrelevant.

Re:“Clean” Code, Horrible Performance by izacus on Wednesday March 01, 2023 @02:10AM (#34979582)
Yeah, this comment doesn't even pass a smell test as soon as you try any of the modern Electron "apps".

It's all horribly performing turd that needs a 4000$ MacBook to be tolerable at best.