Comment

Comment by 082349872349872

In the 1980s or 90s, Jim Gray predicted that in the far future memory hierarchy would be reduced to main memory + tape.

Not sure that prediction holds up (although streaming dbs in the cloud seem awfully "tape-like" to me?), but I did attempt to quickly redo his "5 minute rule" calculations: https://news.ycombinator.com/item?id=42125052

If I did the math right, there's no point to swap or paging anymore, as the break-even point I got was evict after 1 week* (instead of 5 min) for random access patterns, and evict after 5 hours for sequential access patterns.

These days maybe those breakeven calculations would be more useful for deciding how long to keep something in a register and when it'd be better to recalculate or spill to main memory?

* of course, if you keep everything in main memory and forget nothing, we're close to what in 1998 was one of McCarthy's pipe dreams: Elephant2000 http://www-formal.stanford.edu/jmc/elephant/elephant.html ; I guess if I were to attempt something like Elephant2038, it'd wind up looking like a bunch of past-oriented LTL formulae?

(the "speech acts" were probably Winograd's influence?)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton