Comment by SkiFire13
3 hours ago
> To me compilers should be content-addressed databases
Rustc already does something like this. The issues are:
- when you have to rehash everything to check that they indeed didn't change from the previous compilation. For big projects this takes _a lot_ of time.
- when small changes do indeed change the hash of a lot of seemingly unrelated code, which is more common than you might think.
No comments yet
Contribute on Hacker News ↗