Hacker News new | ask | show | jobs
by gavinray 29 days ago

  > The LAST thing you want is a non-deterministic process monkey patching your code.
I'm not poking fun of you, but the irony here is that code-as-written is mostly a "suggestion" to modern compilers and JIT interpreters and the actual instructions emitted often look nothing like your ver-batim code.
2 comments

Compilers are deterministic. You can control all the input to the compiler and the environment it runs in to get reproducible builds. This isn't an accident. That's best practice.
okay but at least those are provably equivalent, unless my understanding is off. isn't that the whole impetus behind the idea of functional programming?