News for hackers. Stuff that matters.
Re:Towards Idempotent Rebuilds? by orbital-decay on Wednesday July 10, 2024 @03:58PM (#40930872)
Multithreaded code can easily be non-deterministic, with things like OS preemption leaking into the sandbox. Guaranteed determinism is hard, it needs a deterministic emulator.
Re:Towards Idempotent Rebuilds? by Quekid5 on Wednesday July 10, 2024 @04:55PM (#40931387)
Not really for building code, at least. It's a common problem, but it's not insurmountable. Use the equivalent of 'make -j1' or whatever...

This requires engineering on the part of compiler writers, but ultimately is solvable, given enough funding.

(About the compiler writers part: I'm thinking about GHC Haskell and the like... the Clangs/GCCs of the world will have no problems because of Translation Units. Things may change when Modules are a practical choice.)

Re:Towards Idempotent Rebuilds? by hinkley on Thursday July 11, 2024 @11:50PM (#40942611)
You're gonna need a better programming language if you want to get to that level.