Hacker News new | ask | show | jobs
by mirashii 908 days ago
> The goal in a way is better reproducibility. The memo hashes the contents of the inputs, so if your cell is deterministic (and you cover all the inputs), the memo should give you the right answers.

That's an enormously large if, and without any way to detect or manage when that's not the case, it's hard to see how this could aid reproducibility. This adds a new failure mode for reproducibility where an important side-effect is not rerun, altering the results.

1 comments

Think of this like incremental builds via make etc. You don't necessarily trust the output 100% but it speeds up work so much it's worth it, you can always do a clean build at key points where you want more confidence.
Sure, but that's not really the point of my comment. The author suggested this helps reproducibility in some way, and I'm trying to understand how this is supposed to help, when on its face, it can only hurt.
But compilers are deterministic, no?