Hacker jargon: Mechanical Sympathy
In programing community, it seems there is a new jargon: Mechanical Sympathy. It basically says that programers should be familiar with computer hardware such as how cpu and memory works, to be better a programer.
sure, understand the computer hardware do help programing, but understand math and algorithms is even more important. Vast majority of programers, understand nothing about theoretical computer science, and little about algorithms.
So, that puts a question about the significance of “Mechanical Sympathy” . There are hundreds things programers should understand that'll help them write better code. But, we don't always have time to study everything. So, comes the question of: which is more important?
Also, hacker type elite programers have always been obsessed about Mechanical Sympathy. Namely, write your program or create programing languages that is low level close to “bare metal”, so it is fast. See:
The result of C or C++ obsession about speed and “bare metal”, is that we have 20 years stagnation of CPU design and programing language design.
Unfortunately, to many programers, when they see the new jargon “Mechanical Sympathy”, their brain is tickled, and conjure up a plethora head nodding to its significance.
Milen gen idiots, let me give you a jargon to chew on: Mathematics.
what is Mechanical Sympathy
what is Mechanical Sympathy
(ai answer)
Mechanical sympathy is the practice of achieving optimal performance by deeply understanding how a system operates and aligning usage with its design constraints. Coined by Formula 1 champion Jackie Stewart in the context of motorsport, the concept was adapted for software engineering by Martin Thompson to describe writing code that respects underlying hardware mechanics.
In software development, this involves understanding CPU cache lines, memory access patterns, and I/O subsystems to avoid bottlenecks like false sharing or context switching. It emphasizes that developers do not need to be hardware engineers, but must have enough insight into the machine's physical limitations to extract maximum efficiency.
In automotive contexts, it refers to treating machinery with care to prevent premature wear, such as avoiding aggressive gear changes or overheating engines. It is essentially empathy for the machine, ensuring that the operator or programmer works in harmony with the tool’s physical or logical architecture.
Xah Talk Show
- The Voodoo of Mechanical Sympathy
- https://youtu.be/hnipbgX3C1c?start=2990
- Xah Talk Show 2021-02-17 Signum Keyboard, Great Interactive Geometry Software, Agile Faak