|
|
|
|
|
by comatose_kid
4706 days ago
|
|
Computer Architecture: A Quantitative Approach by Hennesey and Patterson is the definitive text, and it is good (at least the 3rd edition I read back in 02). One way to put the ideas you learn into practice is to try to write an optimized large NxN matrix multiplication routine. Start in C, converting the kernel to x86 code. Also disassemble the generated C code in the kernel to see what the compiler is doing. See how close you can get to the theoretical peak CPU performance. It is fun stuff. While this kind of optimization is rarely needed, doing so (like learning lisp) will make you a better programmer. |
|