NEW POST

Modern hardware is remarkably fast, but software often fails to leverage it. Caer Sanders guides their work with mechanical sympathy - software that is sympathetic to its underlying hardware. They distill this practice into everyday principles: predictable memory access, awareness of cache lines, single-writer, and natural batching.

https://martinfowler.com/articles/mechanical-sympathy-principles.html

Principles of Mechanical Sympathy

Principles of mechanical sympathy for creating performant software: Memory access patterns, false sharing, the single-writer principle, and natural batching.

martinfowler.com