News for hackers. Stuff that matters.
Re:Why Learn Compilers by UncleMeat on Monday May 29, 2023 @09:40PM (#36120257)
Optimizing compilers often have budgets so you can get different outcomes if performance jitter happens to mean that it bails from some optimization stratagies.
Re:Why Learn Compilers by jcranmer on Monday May 29, 2023 @09:58PM (#36120366)
The budgets I've seen have less been "if it's taken N seconds, bail" and more "if we've processed X million instructions, bail." At least in the compilers I work on, nondeterminism is considered a bug, although it can be harder to avoid nondeterminism than you'd think.