logoalt Hacker News

9rxtoday at 12:43 AM0 repliesview on HN

> no one makes their compilers deterministic

Go (gc) was designed for reproducible builds by default, so clearly that's not true, but you are right that it isn't the norm.

Even the most widely recognized and used compilers, like gcc, clang, even rustc, are non-deterministic by default. Only if you work hard and control all the variables (e.g. -frandom-seed) can you make these compilers deterministic.

It's fascinating that anyone on HN thinks that compilers converge on always being deterministic or always being non-deterministic. I thought we were supposed to know things about computers around here?