from the optimizing-code dept.
Ulrich Drepper has written an extensive paper titled What Every Programmer Should Know About Memory. If you are writing programs that should run optimally on current hardware this reference article is for you.
Ulrich Drepper is the lead maintainer of the GNU C library and a software developer working for Red Hat. His detailed explanation shows you how modern RAM with several levels of caches work and how you can optimize your programs to use current technology to its full potential.
You might also be interested in the 1991 classic What Every Programmer Should Know About Floating Point Arithmetic by David Goldberg which served as an inspiration to Dreppers paper.
< | >