Every wire, disk and radio link occasionally flips a bit. A single parity bit can detect that something went wrong — but it can't tell you which bit broke, so all you can do is ask for the data again. What if the message could simply repair itself?
In 1950, frustrated by a weekend computer that halted on every error, Richard Hamming found a way. By adding just a few extra parity bits, placed at clever positions, he built a code where any single flipped bit doesn't just raise an alarm — it announces its own address.
That jump from "an error happened" to "the error is right here, and here's the fix" is the whole story of error-correcting codes. It is why a cosmic ray can strike your RAM and your computer never even notices.
Comments
Loading comments...