Principles of Mechanical Sympathy
Summary
Martin Fowler analyzes mechanical sympathy, advocating software design that respects hardware characteristics to improve performance. The piece covers memory access patterns, cache-line behavior, the single-writer principle, natural batching, and the distinction between natural and smart batching, with practical AI and data-pipeline examples.