logoalt Hacker News

pcmasterryesterday at 11:47 AM1 replyview on HN

Also, most (optimizing) compilers ”optimize” the code for a fixed amount of time, leading to better optimized binaries on faster computers. That’s why developers should have as fast computers money can buy!


Replies

eruyesterday at 11:13 PM

> That’s why developers should have as fast computers money can buy!

I don't see the connection? Most local builds are done with debugging on and optimisation turned off anyway.

And what you deliver to your customers is usually something you produce on your CI/CD server, not what's on any developer's machine.

(And if you want reproducible builds https://en.wikipedia.org/wiki/Reproducible_builds you can't optimise for a specific wall clock time.)

> Also, most (optimizing) compilers ”optimize” the code for a fixed amount of time, leading to better optimized binaries on faster computers.

That’s why you should give your developers computers that have slow clocks!