Analytical engine

2026-08-24

Wikipedia: Read the full article

In 1837, a hundred years before Alan Turing formalized what computation even meant, an irritable English mathematician named Charles Babbage designed a machine that could have done it all. Not just arithmetic — anything computable. The Analytical Engine was a fully general-purpose computer, Turing-complete in principle, powered by a steam engine and constructed from brass gears, cams, and punched cards. It was never built.

The design is startling in how modern it feels. Babbage separated the machine into a "mill" (the CPU — where arithmetic happens) and a "store" (the memory — holding up to 1,000 numbers of 40 decimal digits each, roughly 16.7 KB). Programs were fed in on punched cards borrowed conceptually from the Jacquard loom, the automated weaving machine that had been dazzling Europe since 1804. Babbage understood something profound: if a loom could be told to weave arbitrary patterns via holes in cardboard, a calculator could be told to compute arbitrary functions the same way.

The engine had features that wouldn't reappear in real machines until the 1940s:

Enter Ada Lovelace, daughter of Lord Byron and one of the few people who genuinely understood what Babbage had invented. In 1843 she translated an Italian article about the Engine and added notes three times longer than the original. Note G contained an algorithm for computing Bernoulli numbers — widely considered the first published computer program. More importantly, Lovelace grasped that the machine wasn't just for numbers: symbols could represent anything — musical notes, letters, logical propositions. She essentially predicted software, and computer-generated music, in a footnote.

So why didn't it work? Partly Babbage himself — he kept redesigning, feuding with his engineer Joseph Clement, and lobbying the British government for funds while producing no finished hardware. Partly the sheer scale: full construction would have required tens of thousands of precision-machined parts and a device the size of a locomotive. Victorian machining could produce the tolerances, but only at ruinous cost. Babbage died in 1871 with the Engine still on paper.

Here's the twist that still haunts computer historians: in 1991, the Science Museum in London built Babbage's earlier Difference Engine No. 2 from his original 1849 drawings, using only manufacturing tolerances available in the 1800s. It worked perfectly. Which strongly suggests the Analytical Engine would have worked too — meaning the world could plausibly have had programmable computers by 1850, a full century before ENIAC. The Information Age might have arrived alongside the telegraph.

Down the rabbit hole: A steam-powered, brass-geared computer with conditional branching, loops, and microcode was fully designed in 1837 — and we know it would have worked.

All newsletters