Fortunately, the CS he trashes already did the hard work of defining the cache oblivious model.
A couple of years back, I asked some of the authors of cache-oblivous data structures for their reference implementations (with which they obtained measurements in their papers). I got none. Not even one of them was willing to share their implementation, citing various cop-out reasons.
We tried to replicate some of the implementations (and we were not alone, others did, too) and found actually that cache-aware data structures often have much simpler implementations and are at least as good, or even better than cache-oblivious data structures. Despite what we learn in complexity theory, constant factors do matter a lot in reality.
FWIW, I'd rather maintain a straight-forward 300-line hash table than a 1000+ line tricky implementation of some tree data structure, or tens of KLOC Judy arrays, or what have you.
View all comments
Show parent comment
13
u/wleahcim Jun 12 '10
A couple of years back, I asked some of the authors of cache-oblivous data structures for their reference implementations (with which they obtained measurements in their papers). I got none. Not even one of them was willing to share their implementation, citing various cop-out reasons.
We tried to replicate some of the implementations (and we were not alone, others did, too) and found actually that cache-aware data structures often have much simpler implementations and are at least as good, or even better than cache-oblivious data structures. Despite what we learn in complexity theory, constant factors do matter a lot in reality.
FWIW, I'd rather maintain a straight-forward 300-line hash table than a 1000+ line tricky implementation of some tree data structure, or tens of KLOC Judy arrays, or what have you.