4 ms·
For these sorts of things, please do not assume hardware is reliable and compilers are bug free.
by bobmcnamara 2y ago
For these sorts of things, please do not assume hardware is reliable and compilers are bug free.
- kardos 2y agoSounds like a mechanism to test for bad hardware (akin to memtest86) and find compiler bugs =)
- bobmcnamara 2y agoBingo - even if we do everything right the percentage of matching builds isn't expected to be 100%. If it is, there just aren't enough samples. My first Pentium could usually but not always math correctly until Intel replaced it during a recall.
- yjftsjthsd-h 2y agoIn a slightly different form, this has already happened: https://julialang.org/blog/2020/09/rr-memory-magic/ https://julialang.org/blog/2020/09/rr-memory-magic/
- 8organicbits 2y agoBug free is less important for reproducible builds, so long as the bugs are reproducible. Compiler bugs are of course still a problem for other reasons.
- bobmcnamara 2y agoMy point is only that even when the software is correct, the reproducible build rate will either be 100% or we've got a representative sample set. Until then, those issues will continue to be lumped together with all the software reasons it wasn't reproducible.