News for hackers. Stuff that matters.
Re:Zig Devlog: Self-Hosted x86 Back End Is Now Default in De... by miki123211 on Monday June 09, 2025 @06:23AM (#44222949)
I think it would be a good idea to have some kind of "speedbump" tool that makes your software slower, but in a way where optimizing it would also optimize the faster version.

I don't know whether this is technically feasible, maybe you could run it on CPUs with good power management and force them to underclock or something.

Re:Zig Devlog: Self-Hosted x86 Back End Is Now Default in De... by hiccuphippo on Monday June 09, 2025 @06:33PM (#44230296)
You could use Qemu to emulate an older CPU, you would need to disable kvm with -no-kvm. There's also a throttle option I found while googling this.