Principles of Mechanical Sympathy
Modern hardware is remarkably fast, but software often fails to leverage it. Caer Sanders has found it valuable to guide his work with mechanical sympathy - the practice of creating software that i...

Source: martinfowler.com
Modern hardware is remarkably fast, but software often fails to leverage it. Caer Sanders has found it valuable to guide his work with mechanical sympathy - the practice of creating software that is sympathetic to its underlying hardware. He distills this practice into everyday principles: predictable memory access, awareness of cache lines, single-writer, and natural batching. more…