3 ms·
The parts of the compiler that kill reproducibility, I had thought, were the optimizations. Which can be a non-deterministic search of an optimization space no
by taeric 9y ago
The parts of the compiler that kill reproducibility, I had thought, were the optimizations. Which can be a non-deterministic search of an optimization space nowdays.
- TheDong 9y agoPlease provide a citation. To my knowledge, that is not true. Debian's reproducible build project has not encountered any issue with optimizations as far as I know, so it seems like your claim would need significant evidence.
- taeric 9y agoTo be fair, I did have a qualifier there. :) I could have sworn I saw this discussed somewhere before, but I can't find an article now. I can find that some branch prediction is non-deterministic. Though, in all of those cases, you can specify the random seed, so not likely to be an actual problem.
- madez 9y agoEven if a compiler used "random" inputs for profiling, they could come from a deterministic pseudo random number generator that returns the same result on each compilation.
- taeric 9y agoYeah, that is what I guessed down thread. I just latched onto "non-deterministic."