7 ms·
There's no such thing as a simple cache bug. - Rob Pike Caches are bugs waiting to happen. Rob Pike @rob_pike 21 Mar 2014
by SixSigma 10y ago
There's no such thing as a simple cache bug. - Rob Pike
Caches are bugs waiting to happen. Rob Pike @rob_pike 21 Mar 2014
- akavel 10y ago"There are only two hard things in Computer Science: cache invalidation and naming things" ― Phil Karlton; not sure to what extent this quote is compatible with the second one by Rob. Or does it mean by implication that simply "Computer Science is bugs waiting to happen"?...
- mikeash 10y agoIt's a great quote, but it's wrong. There are actually two hard things in CS: cache invalidation, naming, and off-by-one errors.
- deathanatos 10y agoThe parent actually appears to have the quote both correct in content and attribution. Supposedly, someone else added the "off by one"[1][2][3]. That seems to be the extent of the Internet's knowledge on the quote, though the Skeptics link notes that there's nothing direct to the supposed originator. This is one of those quotes where I feel there's more than one right answer. I like the addition of "off-by-one", and to make it a nice round three things, I usually use this version: There are three hard things in computer science: 1. Naming things 2. 3. Concurrency Cache Invalidation 4. Off-by-one errors [1]: https://twitter.com/timbray/status/506146595650699264 https://twitter.com/timbray/status/506146595650699264 [2]: https://skeptics.stackexchange.com/questions/19836/has-phil-karlton-ever-said-there-are-only-two-hard-things-in-computer-science https://skeptics.stackexchange.com/questions/19836/has-phil-... [3]: http://martinfowler.com/bliki/TwoHardThings.html http://martinfowler.com/bliki/TwoHardThings.html
- mikeash 10y agoThe other one is the original, I just like the "off by one" version better. I like the addition of "concurrency" too, but I'm not quite sure how to make it flow....
- bakul 10y agoThen there is this quote: "All programming is an exercise in caching." -Terje Mathisen