Remix.run Logo
How to waste CPU like a Professional(mostlynerdless.de)
20 points by tanelpoder 3 hours ago | 7 comments
woah 34 minutes ago | parent | next [-]

These days it's all about wasting GPU like a professional

giveita 13 minutes ago | parent [-]

Stop gatekeeping. With vibe coding anyone can waste GPU.

dmoy an hour ago | parent | prev | next [-]

Ah very cool. I thought this was going to be a tongue-in-cheek article about the proliferation of random corporate-mandated CPU hogs like croudstrike or w/e.

Pleasantly surprised by the technical article :). Reminds me of a lot of precise-number-of-idle-cycles functions from embedded world in a prior life

PaulKeeble 35 minutes ago | parent [-]

Likewise. Wasting user space CPU cycles is actually a moderately tricky thing to do when we have optimising compilers. Its not something that comes up a lot but it is occasionally something you do need to do in order to test other things and it is different to making a lot of system calls.

I think volatile is usually fairly well contained I can't immediately think of an obvious case where it could adjust the performance of the calling context indirectly but its pushing the problem onto that cache coherence part of the CPU so its not quite the same as an algorithm that consumes all the memory bandwidth or execution ports. Lots of little interesting trade offs in the weeds of this and other potential solutions depending on if any of this matters.

ge96 40 minutes ago | parent | prev | next [-]

I have this compulsion to not close my laptop if the battery is over 90% so I would open up html5 fishbowl and crank it up to 50,000 fish per window.

I was looking for some script like count primes I could run

igtztorrero 21 minutes ago | parent | prev | next [-]

It's easy, just use Windows

pcunite 43 minutes ago | parent | prev [-]

Would it use less power on ARM architecture?