2 ms·
I like this premise. Unfortunately, cache lines aren't nearly as visible as registers in a debugger, so the author's claim that the next generation systems lang
by thedudemabry 14y ago
I like this premise. Unfortunately, cache lines aren't nearly as visible as registers in a debugger, so the author's claim that the next generation systems languages may need to provide convenient controls (and implied visibility) into this class of optimizations seems particularly apt. Nowadays, cache-related optimization appears to center around experimentation on a particular hardware setup. Hopefully, that will improve in the future.
In the meantime, Herb Sutter has been demonstrating some interesting cases of cognitive dissonance in terms of code optimization. His work is a lot of fun to read.