Talks at Google
AI-assisted summary of Charles Babbage and Difference Enginge No. 2 | Doron Swade | Talks at Google — original source. Check the original for full context.
Source published:
Key ideas
- A working replica of Charles Babbage's Difference Engine No. 2, comprising roughly 8,000 components and weighing over 5 tons, was successfully built after a 17-year project led by Dr. Doron Swade at the Science Museum in London. (0:09)
- Babbage's calculating engines embodied modern digital architecture over a century early, using discrete decimal states, mechanical pulse-shaping wedge locks, pipelined addition cycles, and anticipatory polling carries. (24:04)
- Constructing the engine revealed minor archival design bugs in Babbage's original 1840s drawings, including reversed carry gearing and components depicted suspended in midair without mounting brackets. (55:40)
- While Babbage's original Difference Engine No. 1 effort consumed £17,500 of British Treasury funds before cancellation, Swade estimated modern replication costs at roughly $2.5 million to $3 million. (59:46)
Detailed notes
## Background This talk was delivered by engineer and computing historian Dr. Doron Swade at Google's Mountain View headquarters as part of the Authors@Google program, and published on YouTube by Talks at Google on May 12, 2008. According to the page description, the session explores Charles Babbage's 19th-century quest to eliminate human arithmetic error through mechanical calculation and recounts Swade's seventeen-year project to construct a working Difference Engine from original Victorian designs.
## TL;DR Dr. Doron Swade details the life, character, and mechanical innovations of Charles Babbage, framing his calculating engines as the philosophical extension of the Industrial Revolution from muscle to mental labor. Swade explains how Babbage anticipated foundational computer science concepts—including digital decimal architectures, pipelining, mechanical pulse shaping, and microprogrammed control—decades before electronic computing emerged. He then chronicles the ambitious seventeen-year reconstruction of Difference Engine No. 2, demonstrating how his team resolved drafting errors, adapted nineteenth-century metallurgical standards, and engineered the machine's intricate programmable printing and stereotyping apparatus.
## Atmosphere & style The presentation carries the warm, erudite charm of a seasoned British curator addressing an audience of modern software engineers, balancing dense mechanical exposition with sharp, dry humor. Swade delivers his narrative with infectious scholarly passion, delighting in Babbage's eccentricities and polemical ferocity while treating the ironwork with deep technical reverence. The room feels engaged and intellectually captivated, bridging a 150-year technological divide as Swade turns complex cams, gear trains, and Victorian archives into a vivid, relatable engineering saga.
## Bulletin - [00:09](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=9s) A working replica of Charles Babbage's Difference Engine No. 2, comprising roughly 8,000 components and weighing over 5 tons, was successfully built after a 17-year project led by Dr. Doron Swade at the Science Museum in London. - [24:04](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1444s) Babbage's calculating engines embodied modern digital architecture over a century early, using discrete decimal states, mechanical pulse-shaping wedge locks, pipelined addition cycles, and anticipatory polling carries. - [55:40](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3340s) Constructing the engine revealed minor archival design bugs in Babbage's original 1840s drawings, including reversed carry gearing and components depicted suspended in midair without mounting brackets. - [59:46](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3586s) While Babbage's original Difference Engine No. 1 effort consumed £17,500 of British Treasury funds before cancellation, Swade estimated modern replication costs at roughly $2.5 million to $3 million.
## Key takeaways - [04:11](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=251s) The Victorian era treated mechanism not merely as engineering, but as an epistemological model where understanding any phenomenon equated to explaining its mechanical logic. - [05:50](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=350s) Babbage aimed to extend industrial mass production from physical muscle labor to mental labor, treating calculation as the industrial 'manufacture of numbers'. - [13:55](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=835s) Errors in mathematical and navigation tables stemmed from four human vulnerabilities: arithmetic calculation, manuscript transcription, manual typesetting, and visual proofreading. - [13:55](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=835s) To achieve absolute tabular accuracy, Babbage envisioned an end-to-end automated system that combined calculation with automatic mechanical output to stereotype printing plates. - [19:48](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1188s) Babbage viewed the universe deterministically and regarded God as a divine programmer whose natural laws operated without ongoing intervention. - [21:27](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1287s) While errata in navigation tables provided a utilitarian pitch for government funding, Babbage's deeper motive was establishing a new exploratory instrument for pure mathematics. - [26:33](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1593s) Difference Engine No. 2 operates as a strict digital system, using sword-shaped wedge locks to correct rotational drift under 2.25 degrees and intentionally jam the machine if errors exceed that threshold. - [29:25](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1765s) Instead of immediately propagating carries, the engine uses an anticipatory carry mechanism that flags a warned state when a wheel passes 9 and polls it via a sweeping helical spiral. - [33:30](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2010s) Conceived in 1834, the Analytical Engine anticipated key principles of modern computing, including separation of the central processing unit (mill) and memory (store), conditional branching, loops, and punched-card control. - [36:28](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2188s) Ada Lovelace's essential historical contribution was recognizing that numbers in calculating engines could represent non-numerical symbols, transitioning calculation into universal symbolic computation. - [39:25](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2365s) Difference Engine No. 2 executes calculation and printing through an internal mechanical microprogram driven by 28 conjugate cams. - [39:53](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2393s) The reconstructed machine calculates to 31 decimal digits across 7 orders of difference using odd-even pipelined addition cycles. - [42:26](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2546s) The modern build strictly observed historical authenticity by matching metallurgical compositions available in Victorian Britain to prove Babbage's design could have functioned in his era. - [54:40](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3280s) Debugging the monolithic mechanism required adding a modern clutch and independent handle to cycle the printer separately from the 11-foot calculating frame.
## Detailed walkthrough ### [00:09](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=9s) Introduction: A Journey into a Past That Never Existed
Opening the session, the host Marian invites the audience to consider the concept of time travel, noting that just about one mile away from Google’s Mountain View campus, visitors can effectively step back 170 years into history. There sits the physical realization of the world's first mechanical, automatic calculating engine based on early computing concepts—a machine composed of 8,000 parts and weighing roughly 11,000 pounds (over 5 tons). Yet, as Marian points out, this is a journey into an alternate history: a past that never actually existed in Victorian Britain. Charles Babbage originally conceived Difference Engine No. 2 in the 19th century, but he never managed to construct it during his lifetime. It took roughly 150 years and one dedicated individual to turn Babbage’s unrealized dream into functional iron and bronze: guest speaker Dr. Doron Swade.
Marian provides a detailed overview of Swade’s distinguished multidisciplinary career. Holding a bachelor’s degree in physics and electronics engineering, a master’s in control engineering, and a PhD in the history of computing, Swade founded the Computer Conservation Society in the UK to focus on preserving early computing systems. At the time of this talk, he served as the assistant director and head of collections at the Science Museum in London, an honorary research fellow at Royal Holloway, University of London, and a guest curator at the Computer History Museum. Marian highlights Swade’s authoritative book on the project—published as *The Cogwheel Brain* in the UK and *The Difference Engine* in the United States—confessing that out of the roughly 700 computing history volumes lining the shelves of his own apartment, Swade’s book comfortably ranks among his top five favorites.
- Physical dimensions of Difference Engine No. 2: roughly 8,000 mechanical components, weighing approximately 11,000 pounds (5 tons). - Original design era: mid-19th century England; realized through a 17-year build project led by Doron Swade. - Doron Swade’s credentials: BSc in physics/electronics, MSc in control engineering, PhD in computing history, co-founder of the Computer Conservation Society, former assistant director/head of collections at the Science Museum in London.
---
[02:37](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=157s) Arrival in Silicon Valley and Roadmap of the Talk
Taking the podium, Doron Swade explains the timely catalyst for his presentation: the recent arrival of the five-ton calculating engine in Silicon Valley. Installed down the road at the Computer History Museum, the machine is slated for a one-year public exhibition, scheduled to run live demonstrations three times a week—provided, Swade quips, that it successfully recovers from its transatlantic "jet lag." Built starting six years earlier, the machine was never designed to travel. Its flight across the Atlantic subjected the delicate mechanism to severe vibration and altitude-induced low-temperature condensation that produced surface corrosion. Nevertheless, the engine is operational, and Swade emphasizes that no video or lecture can truly substitute for witnessing the massive apparatus moving in person.
Swade outlines the roadmap for the talk, tailoring it to an audience of software engineers and technologists. Rather than delivering a conventional, purely biographical history, he divides the presentation into three parts: the cultural and intellectual zeitgeist of the 19th century, an overview of what Babbage’s engines were conceptually designed to accomplish, and an in-depth mechanical exploration of Difference Engine No. 2 itself. Acknowledging the technical inclinations of the Google audience, Swade promises to skew his discussion toward mechanical logic, engineering constraints, and kinematic elegance, highlighting the sophisticated internal economy of Babbage’s design.
---
[04:11](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=251s) The Victorian Zeitgeist: The Age of Machinery
Swade draws an explicit parallel between modern Silicon Valley culture and the Victorian world of Charles Babbage. Today's society prides itself on living through an unprecedented era of relentless invention, where everyday news cycles trumpet novel technological breakthroughs, silver bullets, and accelerating rates of change. The victorians experienced an identical, frenzied sense of transformation. The middle decades of the 19th century witnessed an unbridled expansion of engineering ambition, dominated by an obsession with contrivances, mechanisms, and industrial contraptions. New materials, manufacturing processes, and mass-produced goods poured out of factories in overwhelming quantities, rapidly reshaping consumer life and retail shelves.
```mermaid flowchart TD accTitle: Victorian Mechanical Worldview accDescr: Diagram illustrating how external industrial machinery shaped the internal Victorian mindset and mechanical philosophy.
subgraph ExternalWorld["External Industrial Sphere"] A["Industrial Revolution"] --> B["Steam Power & Machine Tools"] B --> C["Relief of Physical Labor"] B --> D["Flood of Manufactured Goods"] end
subgraph InwardMindset["Inward Epistemology"] C --> E["Mechanical Philosophy"] D --> E E --> F["Understanding = Mechanical Explanation"] end ```
This mechanical obsession was far more than an outward economic shift; it became the Victorian epistemological framework for interpreting reality itself. Mechanical operation was the primary lens through which thinkers conceptualized the universe, human behavior, and nature. To illustrate the depth of this worldview, Swade quotes essayist Thomas Carlyle:
> “Thomas Carlyle the essayist said that it was the age of Machinery in every outward and inward sense of the word.”
As Swade elaborates, mechanical explanation became co-terminal with human understanding: if a natural or social phenomenon could not be modeled as a mechanism, the Victorian mind felt it had not been fundamentally explained.
---
[05:50](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=350s) Extending the Industrial Model: From Thing to Thought
While the familiar Industrial Revolution focused on mechanizing physical tasks and replacing muscle power, Swade argues that a second, less recognized revolution was brewing concurrently: the mechanization of mental labor. This effort sought to automate calculation and table-making through mechanical logic. The governing concept was radical: if an autonomous, automatic mechanism could physically embody mathematical rules, an operator could achieve results through raw physical exertion—turning a crank—that had previously demanded intense, fallible human intellect. To contemporary observers, this appeared to be nothing short of a physical thinking machine. Although the historical movement ultimately faltered during Babbage's lifetime, Charles Babbage (1791–1871) pioneered this intellectual leap. Describing Babbage’s grand objective, Swade explains:
> “His purpose in a sense was to extend the model of industrial production from thing to thought.”
Babbage’s son later summarized this operational philosophy by describing the calculating engine as a veritable “manufacture of numbers.” The machine took the industrial division of labor and factory production and applied it directly to the problem of numerical supply.
```mermaid flowchart LR accTitle: Bridging Technologies Concept accDescr: Two examples showing how radical new inventions were packaged inside familiar metaphors to ease public adoption.
subgraph Victorian["19th Century Bridging"] V1["Steam Street Railway"] -->|"Front-end disguise"| V2["Mechanical Wooden Horse"] end
subgraph Modern["20th Century Bridging"] M1["Electronic Pocket Calculator"] -->|"Marketing metaphor"| M2["'Electronic Slide Rule'"] end ```
To illustrate how societies cope with jarring technological leaps, Swade displays an image of a bizarre 19th-century "steam horse"—a street railway locomotive encased inside an artificial horse facade, designed specifically to avoid terrifying real horses on the road. Swade categorizes this as an example of a "bridging technology": an effort to disguise radical novelty within the comfort zone of familiar artifacts. He notes that modern computing repeatedly utilizes the exact same psychological bridge, pointing out that when Hewlett-Packard and others introduced the earliest electronic handheld calculators, marketing teams deliberately advertised them as "electronic slide rules" to make unfamiliar digital electronics palatable to practicing engineers.
---
[07:33](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=453s) Portraits of Charles Babbage: Radical Youth to Irascible Genius
Swade traces Babbage's intellectual and psychological evolution through a sequence of surviving visual portraits. He begins with an 1813 portrait of Babbage as a Cambridge undergraduate studying mathematics. Already exhibiting a radical, reforming streak, Babbage despised Cambridge’s conservative, hidebound mathematical curriculum and organized rebellions against it. Swade points out that Babbage’s hairstyle and posture in the painting intentionally mirror Napoleon Bonaparte—a defiant aesthetic statement in 1813, given that Britain was actively engaged in the Napoleonic Wars. This rebellious spirit extended to his personal life; in 1814, Babbage married Georgiana Whitmore in direct defiance of his father, a wealthy banker who insisted that marrying without independent wealth was reckless folly.
```mermaid flowchart LR accTitle: Chronological Evolution of Charles Babbage accDescr: Timeline showing the shifting stages of Charles Babbage's life from youthful radical to aged genius.
A["1813: Cambridge Radical<br>(Napoleonic defiance)"] --> B["1830s: Scientific Maverick<br>(Attack on Royal Society; 'Economy of Machinery')"] B --> C["1847–1849: Mature Designer<br>(Difference Engine No. 2; political battles)"] C --> D["1860: Venerable Grump<br>(Irascible genius; 4th Statistical Conference)"] ```
By age 53, captured in an oil portrait by Sir Thomas Lawrence hanging in the National Portrait Gallery, Babbage had assumed the mantle of a prominent gentleman of science, though not without controversy. In the early 1830s, he had alienated Britain's scientific establishment by publishing vicious polemics against the Royal Society, accusing its leadership of corruption and intellectual bankruptcy. Swade underscores Babbage's relentless, combative nature:
> “He was capable of incontinent savagery in these public attacks he would impugn the personal probity of its senior officers and he had no compunction and but to do this in public.”
Babbage managed to rehabilitate his reputation largely through his 1832 masterpiece, *On the Economy of Machinery and Manufactures*, a foundational text in political economy that analyzed factory systems and production efficiency.
Swade then presents an Antoine Claudet photographic portrait from the late 1840s, the precise window (1847–1849) when Babbage drafted the complete blueprints for Difference Engine No. 2. Though visibly weathered and bruised from his political battles—including a disastrous, bitter falling-out with Prime Minister Sir Robert Peel that terminated government funding—Babbage retains an intense, defiant energy. It was during this period of political isolation that he executed his most refined, economical mechanical masterwork. Finally, Swade shows the last known photograph of Babbage, taken in 1860 at the Fourth International Statistical Congress in London. Looking like a "venerable Grump" with a wild, Beethoven-like mane of hair, Babbage had settled into the persona his first biographer would famously christen: the "irascible genius."
[10:20](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=620s) Charles Babbage’s Character and Contrarian Temperament
Doron Swade paints a vivid portrait of Charles Babbage’s complex, volatile personality, noting that the twin traits of irascibility and towering genius remain the most compelling lens through which to understand him. Despite the extensive scholarship since 1963, Babbage stands out as a figure in whom “protest always triumphed over persuasion.” At the same time, he was a brilliant raconteur, socialite, and one of the most sought-after dinner guests in Victorian London; securing “Mr. Babbage” for an evening was considered a major coup for any hostess, guaranteeing entertainment and sparkling conversation. He was a bold thinker of startling sweep and original vision, but also a man of unyielding loyalties: his friends could do no wrong, and his enemies could do no right.
```mermaid flowchart TD accTitle: Contradictions of Babbage's Character accDescr: Chart outlining the public, intellectual, and psychological contrasts in Charles Babbage. subgraph Personality["Public vs. Private Self"] A["Celebrated Raconteur & Dinner Guest"] <--> B["Fierce Grudges & Public Denunciations"] end subgraph Ambition["Ambition & Bitterness"] C["Craved Honors (Lucasian Chair)"] --> D["Refused Knighthood; Bitter Over Incomplete Engines"] end subgraph PublicPosture["Operating Philosophy"] E["'Behaved as though being right entitled him to be rude'"] end ```
He desperately craved national honors, complaining that holding the prestigious position of Lucasian Professor of Mathematics at Cambridge was the only recognition his country had ever bestowed upon him. When offered a knighthood, he haughtily refused it, asserting that any such honor belonged rightfully to the calculating engine, not to him personally. Because he had been unable to complete his machines, he was left profoundly embittered, isolated in his inability to convey his vision to his contemporaries. As Swade summarizes his aggressive public posture:
> “He behaved as though being right entitled him to be rude and I think that's perhaps characterizes his public behavior.”
- Described as a radical, principled man constantly tilting at windmills and never hesitating to publicly denounce those he believed were in error. - Refused a knighthood on the grounds that the honor belonged to the engine itself. - Babbage felt that failing to construct Difference Engine No. 2 denied his contemporaries the ability to grasp his mechanical vision, fueling lifelong resentment.
---
[11:30](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=690s) Satirical Wit: The British Mind, American Enterprise, and Alfred Tennyson
To illustrate Babbage's sharp, biting literary style, Swade quotes from an obscure 1851 paper Babbage wrote on taxation, which touched upon the entrepreneurial climate of the mid-nineteenth century. Babbage drew a stark, humorous contrast between the conservative British temperament and dynamic American commercial ingenuity:
> “Propose to any Englishman any principle or any instrument however admirable and you will observe that the whole effort of the English mind is directed to finding a difficulty, a defect, or an impossibility in it. If you speak to him of a machine for peeling a potato, he will pronounce it impossible; if you peel a potato with it before his eyes, he will declare it useless because it will not slice a pineapple. Impart the same principle, show the same machine to an American or to one of our colonists, and you will observe that the whole effort of the mind is to find some new application of the principle and some new use for the instrument.”
This passage anticipates the enduring trope of European technical innovation clashing with American market exploitation. Swade then shares an infamous letter Babbage addressed to the poet Alfred, Lord Tennyson regarding a line in his poem *The Vision of Sin*:
> “Sir, in your otherwise beautiful poem *The Vision of Sin*, there is a verse which reads quote ‘Every moment dies a man, every moment one is born,’ close quote. It must be manifest that if this were true, the population of the world would be at a standstill. I would suggest that in the next edition of your poem you have it read quote ‘Every moment dies a man, every moment 1 and 1/16th is born.’ The actual figure is so long that I cannot get it onto a line, but I believe that the figure of 1/16th is sufficiently accurate for poetry.”
Swade notes that while modern audiences desperately want to believe Babbage wrote this tongue-in-cheek, “the terrifying thought is that he was deadly serious.”
---
[13:55](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=835s) The 1821 Genesis: “Calculations Executed by Steam” and Sources of Error
The genesis of Babbage’s computing machinery occurred in the summer of 1821 in London. Babbage and his close friend, the astronomer John Herschel, were laboriously checking astronomical tables computed manually by human "computers"—clerks assigned to carry out low-level arithmetic. Dismayed by the rampant discrepancies between the manuscripts, Babbage famously clasped his head in his hands and cried:
> “I wish to God these calculations had been executed by steam!”
“Steam” operated both as a metaphor for the unerring infallibility of machinery—the idea that the mechanical certainty of an apparatus would guarantee results free from human frailty—and as an industrial model of mass production to resolve the critical shortage of reliable tables. Asteroids were being discovered and mistaken for new planets, requiring immediate trajectory calculations. While astronomers pressured the government to compel the Royal Observatory at Greenwich to publish these tables, Greenwich refused, claiming it fell outside its royal charter. Consequently, the Astronomical Society (which Babbage had helped establish) commissioned Babbage and Herschel to do the calculations themselves.
```mermaid flowchart LR accTitle: Four Vulnerabilities of Mathematical Tables accDescr: Flow diagram tracing the four human sources of error in nineteenth-century mathematical table publishing. A["1. Manual Calculation"] -->|"Human arithmetic slips"| B["2. Transcription"] B -->|"Copying onto manuscript"| C["3. Typesetting"] C -->|"Setting loose metal type"| D["4. Verification"] D -->|"Visual proofreading failures"| E["Corrupted Printed Tables"] ```
Babbage identified four distinct stages where human error corrupted tables: 1. **Manual calculation:** Errors introduced by the human computers doing raw arithmetic. 2. **Transcription:** Mistakes made copying the calculated figures into intermediate manuscripts for the printer. 3. **Typesetting:** Setting loose individual type pieces by hand. Unlike text, where a reader naturally notices a misspelled, omitted, or transposed word, numbers offer no intuitive clues to error upon inspection. 4. **Verification:** Proofreading printed pages against originals, a task where human attention wanders and errors slip past undetected.
Babbage’s radical concept was not merely a calculating machine, but an end-to-end automated system that would calculate values and mechanically imprint them directly into stereotype plates, bypassing all human manual intervention.
---
[16:32](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=992s) Difference Engine No. 1 and the Philosophy of the 1832 Fragment
Beginning in 1821, Babbage spent a decade designing Difference Engine No. 1, an apparatus engineered to handle 16 digits and six orders of difference. It employed the mathematical technique of finite differences: while evaluating higher-order polynomials normally requires multiplication, division, subtraction, and addition, the method of differences reduces all computation to repeated addition alone. This allowed Babbage to bypass multiplication and division, which were mechanically difficult to implement at the time. The full design called for 25,000 components, an estimated weight of 15 tons, an 8-foot height, and even railway tracks beneath it to support its immense mass.
```mermaid flowchart TD accTitle: Mathematical and Philosophical Impact of Difference Engine No. 1 accDescr: Diagram illustrating the operational logic and philosophical influence of the 1832 trial piece. subgraph Mechanism["Mechanical Architecture"] A["Method of Finite Differences"] --> B["Replaces Multiplication & Division with Repeated Addition"] B --> C["Crank-Operated 1832 Trial Piece (1/7th of Engine)"] end subgraph Philosophy["Philosophical Breakthroughs"] C --> D["Transference of Thought to Mechanism"] C --> E["Demonstration of Miracles via Programmed Discontinuities"] E --> F["Scientific Defense for Geologists & Pre-Darwinian Evolutionists"] end ```
Although Babbage never finished the entire machine, he completed a operational trial portion in 1832—roughly one-seventh of the whole—which survives today in the Science Museum in London. Swade emphasizes that its historical weight cannot be overstated:
> “This is the first successful machine which has any sort of autonomy. This is the first successful transference of human intelligence to mechanism, the first machine that successfully embodies mathematical rule in mechanism. Reversing that, it's the first—it's the first machine that allows the ingression, if you like, of machinery into psychology.”
Babbage famously used this working fragment at his London soirees to illustrate his mechanical theory of miracles to the intellectual elite. He would configure the gear trains to follow a regular arithmetic rule for thousands of cycles before introducing a planned mechanical discontinuity that abruptly altered the output. Babbage argued that what natural theologians interpreted as a divine violation of natural law (a miracle) was in reality a pre-programmed discontinuity governed by a higher, deterministic law unknown to mortal observers. This mechanical demonstration provided a compelling metaphor for contemporary geologists and pre-Darwinian evolutionary theorists, offering a rational framework to explain long epochs of species stasis, sudden evolutionary appearances, and cataclysmic earthquakes without abandoning causal determinism.
[19:48](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1188s) The Thinking Machine and Physical Autonomy
Doron Swade explains that Charles Babbage saw the universe as deterministic, driven by natural phenomena that could be accounted for without constant appeals to divine intervention: “So for Babbage, God was a programmer, and those in the software industry may be flattered to know this.” The philosophical implication that a physical mechanism was performing mental labor was immediately felt by Babbage and his circle. His junior colleague Harry Wilmot Buxton observed that the marvelous pulp and fiber of the brain had been replaced by brass and iron, marveling that Babbage had taught wheelwork to think, or at least perform the office of thought. In 1833, Ada Lovelace’s mother, Lady Byron, similarly noted in her diary: “Last week we saw the thinking machine, for such it seems.”
This development represented not only the conceptual roots of artificial intelligence but also the birth of automatic computation. Swade emphasizes that both domains fundamentally depend upon mechanical autonomy: “You did not need to understand how the machine worked or the principle upon which it's based in order to get useful results, and this was unprecedented.” The machine constituted a monumental leap in logical architecture and scale, emerging with virtually no contemporary parallel. Displaying a slide depicting Babbage, Ada Lovelace, and John Herschel alongside the calculating engine, Swade playfully notes the slightly blurred image by joking that nineteenth-century digital photography was not particularly good, explaining that it depicts Babbage demonstrating his famous theory of miracles during one of his fashionable Saturday evening soirées.
[21:27](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1287s) The True Motive: A New Technology of Mathematics
Swade reveals that the traditional narrative of Babbage being motivated primarily by typos in printed tables is largely a historical misconception: “The vignette I've painted of Babbage and Herschel is misleading, and historians, myself included, endlessly charmed by it, have been misled into thinking that errors in tables was not only the jumping-off point, which it was, but that it was the enduring motive for Babbage's designs.” Babbage’s earliest private manuscripts make no mention of errata. Instead, errors in tables served as a rhetorical and utilitarian sales pitch to win financial backing from the British government. For Babbage, the calculating engine was fundamentally a brand-new technology for exploring pure and applied mathematics across three major fronts:
```mermaid flowchart TD accTitle: Mathematical Capabilities of Babbage's Engines accDescr: Three mathematical purposes conceived by Babbage beyond calculating tables. subgraph M1["New Technology of Mathematics"] A["Systematic Solution Method"] B["Heuristic Exploration"] C["Numerical Analysis"] end A -->|"All-zero column detection"| D["Halting criteria for equation roots"] B -->|"External cross-coupling shafts"| E["Generating series with no nth-term formula"] C -->|"Algebraic rearrangement"| F["Minimizing arithmetic machine operations"] ```
First, he conceived of mechanical computation as a systematic method to solve equations lacking analytic formulas. By monitoring the final column of the machine until it dropped to all zeros—the root of an equation—the machine would automatically halt. Swade draws a direct line between this mechanism and modern computer science: “Touring—pre-echo of Turing in a solution to the problem of computability using halting criteria; this is explicit in Babbage.” If an equation possessed no solution, Babbage noted that the operator could crank the machine *ad infinitum*. Second, Babbage treated the engine as a heuristic research tool. Using external shafts, columns could be cross-coupled forward and backward, allowing numerical feedback loops to generate mathematical series that lacked any known closed-form expression for the $n$-th term. Third, Babbage foresaw the creation of numerical analysis: an entire mathematical discipline dedicated to restructuring formulas to optimize execution on calculating hardware. In one of Babbage's own examples, an evaluation requiring 35 multiplications, 10 divisions, and 2 additions was algebraically restructured into an identical mathematical form needing only 5 additions, 2 multiplications, and 1 division.
[24:04](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1444s) Decimal, Digital Architecture and Early Logic Features
The Babbage engines are fundamentally decimal digital machines. They operate in base 10 using values from $0$ to $9$, and they are strictly digital because only discrete integer positions are mathematically valid. Swade explains: “Jams are good—it's a form of error detection; it says the integrity of the result has been compromised, a wheel is in an indeterminate position.” A non-integer value such as $2.5$ is never represented by positioning a wheel midway between two and three; instead, distinct decade wheels individually represent $2$ and $5$. Because the machine relies on mechanical bronze and iron parts rather than bistable electronic flip-flops that snap between states across a threshold, its digital nature had to be enforced entirely by a rigid mechanical control apparatus.
Swade illustrates Babbage’s early engineering experiments with spring-loaded half-round pawls resting in wheel indents. Although the dwell angle on early prototypes proved too shallow to force snap transitions cleanly, they demonstrate Babbage’s determination to lock wheels into definite positions and reject transitional states. Projecting modern computer terminology backward onto Difference Engine No. 1, Swade highlights several recognizable hardware and systems concepts embodied in the ironwork: - A parallel data bus - Microprogramming (the automatic execution of a sequence of micro-instructions triggered by a single macro-instruction) - Pipelining and polling - Pulse shaping (mechanical edge restoration) - One-bit binary latching - Mechanical input/output (I/O) - Bounce catchers operating analogously to Schmitt triggers to suppress mechanical contact bouncing
[26:33](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1593s) Mechanical Pulse Shaping and One-Bit Carriage Latches
```mermaid flowchart TD accTitle: Wedge-Shaped Lock Control Mechanism accDescr: Operating outcomes of the wedge lock mechanism determining alignment, stability, and jamming. subgraph Action["Lock Advances into Rack"] A["Sword-like wedge lock inserts"] --> B{"Tooth alignment status"} end subgraph Outcomes["Mechanical Response"] B -->|"Slight offset (< 2.25°)"| C["Self-corrects and re-centers wheel"] B -->|"Fully seated"| D["Locks wheel stationary during cycle"] B -->|"Drift > 2.25°"| E["Strikes tooth edge and jams engine"] end ```
Swade plays video footage demonstrating how Babbage achieved mechanical pulse shaping—the physical analogue of restoring degraded electrical signal edges. The mechanism relies on vertical, sword-shaped locking blades tipped with wedge-shaped ends that thrust between the teeth of horizontal racks. The lock performs three vital functions: 1. **Self-correction:** If a gear wheel has drifted slightly out of alignment, the wedge engages the flank of the tooth and mechanically forces the wheel back into true center. 2. **Immobilization:** When fully seated, the blade locks the wheel stationary so it cannot be disturbed during active computational strokes. 3. **Jam-on-error safety:** If a wheel drifts more than $2\frac{1}{4}$ degrees off-center due to wear, play, or mechanical error, the point of the wedge strikes the flat tip of the gear tooth rather than entering the gap. The machine immediately jams solid, warning the operator that the engine's integrity has been compromised and preventing erroneous output.
Swade then demonstrates the mechanical carriage handling. When two numbers are summed across columns, all decades add simultaneously. When an individual figure wheel passes $9$ to roll over past $10$, it does not carry immediately into the next decade—an action that would cause cascading mechanical resistance across thirty digits. Instead, reaching $10$ trips a one-bit mechanical latch into a "warned" state. During the subsequent carriage phase of the cycle, a spiral helix sweeps sequentially upward through the column, causing carry levers to poll each decade register in turn. When the mechanism interrogates a latch that has been warned, it triggers an increment on the next higher decade wheel before resetting.
[29:25](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1765s) The Mechanics of Anticipating Carriage and Interrogation
Doron Swade demonstrates the intricate mechanical operation of the carry mechanism on the engine, directing the audience's attention to the physical intersection between the shoe and the mechanical levers. He pauses the machine mid-cycle to illustrate how a digit wheel transitions between states, pointing out how the mechanism mechanically differentiates between a digit that needs to carry and one that does not. When an individual decade wheel rolls past nine, it flips a latch from an unwarned to a warned position, physically shifting an arm outward into the path of an interrogation shoe.
```mermaid flowchart TD accTitle: Mechanical Carry Cycle accDescr: The mechanical interrogation and carriage process in Babbage's calculating engine. subgraph S1["Digit Addition Phase"] A["Figure Wheel Rotates"] --> B{"Passes 9 to 0?"} B -- "Yes" --> C["Latch Flips to Warned State"] B -- "No" --> D["Latch Remains Unwarned"] end subgraph S2["Interrogation Phase"] C --> E["Arm Projects Outward into Sweep Locus"] D --> F["Arm Remains Retracted"] E --> G["Rotating Shoe Intersects Arm"] F --> H["Rotating Shoe Misses Arm"] end subgraph S3["Carriage & Reset"] G --> I["Next Decade Wheel Increments (+1)"] I --> J["Mechanism Resets Latch"] H --> K["No Carriage Occurs"] end ```
After catching a brief issue with an audio plug, Swade successfully freezes the apparatus right at the transition point. He highlights how the differing physical positions of the mechanical arms govern the logic of the calculation: an arm that is set sticks out further into space, allowing the sweeping shoe to intersect its trajectory and physically nudge the next decade wheel upward by one before resetting the latch. As Swade explains this purely mechanical conditional logic: “So that's a conditional device which interrogates each latch: if set, carries; if doesn't, you can see the two, and then resets.”
- The carry mechanism relies on intersecting loci between sweeping shoes and levers. - A wheel tripping from 9 to 0 moves the latch from an unwarned state to a warned state. - Mechanical interrogation probes each latch sequentially and executes the carry only if warned, before restoring the latch to rest.
---
[31:47](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1907s) The Analytical Engine and the Victorian Soap Opera
Transitioning from calculating machinery to general computation, Swade contrasts the difference engines with Babbage's next breakthrough: the Analytical Engine conceived in 1834. While difference engines are specialized calculating devices, the Analytical Engine astoundingly anticipated the fundamental principles of the modern electronic digital computer. Displaying Babbage's 1840 design drawings, Swade details a machine of staggering physical scale, towering 15 feet high and stretching 6 to 8 feet across for a single module. Its storage columns of figure wheels supported 50-digit precision arithmetic, with double-precision results reaching 100 digits. Although the displayed drawing shows roughly 20 registers measuring 10 feet in length, Babbage envisioned entry-level production machines with 100 registers and ambitious configurations holding up to 1,000 registers—a mechanical construct far larger than a contemporary steam locomotive.
Swade recounts the personal tragedy that framed this intellectual leap. Babbage’s original project to construct Difference Engine No. 1 had collapsed in 1833 when his master engineer, Joseph Clement, walked out following financial and managerial disputes, leading the British government to officially cancel its funding in 1842. The abandonment remained an open wound for the rest of Babbage’s life, filling his diaries with bitter disbelief and despair. Swade humorously summarizes the collapse as a quintessential period drama: “If you like, the story is of Victorian soap: there was a beautiful Countess, a flaming row with the Prime Minister, public accusations of profligate and wasteful spending of public monies, experts who disagreed about the fundamental utility of the machines, and a walkout by Babbage's chief engineer, Joseph Clement.” Swade quips that the modern team relived every single one of these tribulations while rebuilding the engine, dryly adding that he is still waiting for the beautiful countess.
- The 1840 Analytical Engine design stood approximately 15 feet high and 6 to 8 feet wide. - Precision was designed for 50 decimal digits, producing 100-digit results in double precision. - Entry-level configurations were planned around 100 registers, dwarfing railroad locomotives. - Joseph Clement walked off the Difference Engine No. 1 project in 1833, leading to government cancellation in 1842.
---
[33:30](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2010s) Modern Computing Concepts and Mechanical Notation
Examining the architecture of the 1840 Analytical Engine, Swade catalogues its modern logical attributes. The machine was programmable using four distinct types of punched cards and possessed a clear von Neumann architecture that cleanly partitioned the processor (the "mill") from memory storage (the "store"). It featured a serial fetch-execute cycle, conditional branching via if-then decision structures, iterative loops, microprogramming, pipelining, and an anticipating carriage mechanism serving the role of modern carry-lookahead adders. It performed parallel processing, automated multiplication and division, and outputted results via a printing and stereotyping unit, punched cards, or an automated graph plotter. Swade passionately refutes any suggestion that historians are merely reading modern ideas into crude mechanical artifacts, asserting: “All these features are explicitly embodied in the detail of design, and what I'll give you is just some flavor of the extent and detail of what he did.”
```mermaid flowchart LR accTitle: Analytical Engine Architecture and Notation accDescr: Architecture of the Analytical Engine and Babbage's three-part mechanical notation system. subgraph AE["Analytical Engine Architecture"] direction TB Cards["Punched Cards<br>(4 Distinct Types)"] --> Mill["The Mill<br>(Processor / ALU)"] Store["The Store<br>(Memory Registers)"] <--> Mill Mill --> Output["Output Subsystems<br>(Printer, Stereotype, Plotter)"] end subgraph MN["Mechanical Notation Language"] direction TB Tab["Tabular Form<br>(Alphabetical indices, motion types)"] Time["Timing Diagrams<br>(50-division cycles, phasing, pipelining)"] Flow["Flow Diagrams<br>(Data isolated from control)"] end ```
To coordinate this colossal apparatus without modern drafting tools, Babbage invented a symbolic Hardware Description Language termed "Mechanical Notation." Because Babbage was a mathematician who naturally reasoned in symbolic abstractions, he formulated three distinct design representations: 1. A **tabular system** tracking components through alphabetic labels with up to six superscripts and subscripts detailing connectivity, driving points, and whether motion was circular, linear, continuous, or intermittent. 2. **Timing diagrams** laying out component phasing and mechanical pipelining across 50 discrete cycle divisions, separating even and odd axes. 3. **Flow diagrams** that deliberately separated data lines from control sequences within a unified schematic.
The printing and stereotyping mechanism alone—shared between Difference Engine No. 2 and the Analytical Engine—contained roughly 4,000 parts, and Swade notes that his modern construction team had to rely on Babbage's mechanical notation sheets to resolve ambiguities in the engineering drawings.
- Features embodied: punched-card control, store/mill separation, conditional branching, loops, carry look-ahead, and automated plotting. - Mechanical notation employed up to six indices per variable to define physical dynamics and linkages. - Machine cycles were partitioned into 50 timing increments rather than 360 degrees. - The printer and stereotyping apparatus comprised roughly 4,000 components.
---
[36:28](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2188s) Ada Lovelace: Debunking Myths and Celebrating True Vision
Swade tackles the contested legacy of Ada Lovelace, carefully dismantling popular exaggerations while elevating her actual, profound contribution to computer history. Popular accounts typically assert four claims: that Lovelace was an innate mathematical genius, that she made influential architectural contributions to the Analytical Engine, that she was the world's first computer programmer, and that she served as the prophet of the computational age. Swade methodically dismisses the first three. Lovelace was an enthusiastic beginner in mathematics, not an accomplished genius; she only commenced studying elementary differences in 1839, five years after Babbage had already conceived the Analytical Engine. While Babbage was undeniably flattered by the 17-year-old Lovelace when they met in 1833 and warmly encouraged her interest, she did not alter the design or mechanical concepts of the engine. Furthermore, although she published the first detailed algorithmic program in her famous 1843 notes, the underlying computational routines were written by Babbage himself for his 1841 lectures in Turin.
Swade argues that stripping away these false accolades is essential to appreciating Lovelace's genuine intellectual triumph. Her real breakthrough was conceptual: while Babbage viewed his machine strictly as a mathematical calculator or an algebraic processor, Lovelace grasped that numbers could serve as arbitrary operational symbols representing non-numerical entities, such as musical notes or letters of the alphabet. She recognized the qualitative leap from mere arithmetic calculation to universal symbolic computation governed by rules. Summarizing her unique historical significance, Swade explains: “She was the only one who saw what the fundamental significance of Babbage's analytical engine was and saw it—saw further than Babbage did.”
- Lovelace began studying elementary differences in 1839, five years after the engine's conceptualization. - The algorithmic tables in Lovelace's 1843 publication were devised by Babbage during his 1841 Turin presentations. - Lovelace pioneered the concept of universal symbolic manipulation, distinguishing generalized computation from numerical arithmetic.
---
[39:25](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2365s) Introducing Difference Engine No. 2
Swade brings the narrative forward to Difference Engine No. 2, the design that the modern reconstruction team ultimately turned into physical reality. Babbage drafted the engine between 1846 and 1849, leaving behind a portfolio of 20 detailed engineering drawings. Among these, Swade singles out drawing 163A—the main elevation—describing it as so vividly evocative of the machine's architecture that it remains permanently burned into his memory. Cranking the main handle drives the engine through its cycles via mechanical microprogramming, implemented through stacked assemblies of 28 conjugate cams.
- Difference Engine No. 2 was originally documented by Babbage across 20 design drawings. - Drawing 163A contains the comprehensive main elevation drawing used by the modern replica team. - The machine's physical microprogram is executed through a drive assembly containing 28 conjugate cams.
[39:53](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2393s) The Physical Specifications and Programmable Printer
The Difference Engine No. 2 is a massive mechanical masterpiece consisting of 8,000 parts made of bronze, cast iron, and steel. It stands 7 feet high, stretches 11 feet long, and operates using seven orders of difference. As the machine cycles, the tabular values and their first through seventh differences are calculated, culminating in a 31-digit number that appears on the final column. This end product is then sent to the printing apparatus, which simultaneously prints a hard copy and produces stereotype plates.
Doron Swade highlights that the printer is of particular significance because it is entirely mechanically programmable. Users can program the page format, adjusting for variable line heights, variable column widths, and custom gaps between groups of lines to make the tables easier to read. It can print in one, two, three, or four columns at will, and it can stereotype in two different fonts (small and large) simultaneously, automatically adapting the line height to the font size. It even handles automatic line wrapping and column wrapping, regardless of whether the printing goes down or across the page. Swade jokes about its lack of modern features: “The print is of particular significance because it is programmable; you can program the format on it. It doesn't run Windows, and it's not portable.” He adds with a smile that it still "crashes nearly as often though," but notes that mechanical crashing is actually a positive feature because it serves as immediate error detection.
- **Total Parts:** 8,000 parts (bronze, cast iron, and steel) - **Dimensions:** 11 feet long, 7 feet high - **Precision:** Calculates to 31 decimal digits - **Formatting Capabilities:** Variable line height, variable column width, 1 to 4 columns, dual-font stereotyping, automatic line and column wrapping
---
[41:11](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2471s) A Seventeen-Year Build and the "Multiple Original"
The completed engine shown in Swade's presentation was finished in London in 2002, capping off a project that spanned 17 years from its start in 1985. Swade reflects on the immense human effort required to bring Charles Babbage's designs to life, noting that the timeline was stretched by factors far beyond pure engineering. “Strictly speaking, it was built over a period of 17 years; it was not just the logic of the building—there was something called people that were involved, and they are much less logical than solving technical difficulties,” Swade explains, pointing to the constant demands of fundraising, publicity, and team management. The machine currently housed at the Computer History Museum in Mountain View is an exact duplicate of the London engine. Because the team manufactured two sets of printer parts at the same time, the California machine is technically a "multiple original."
The physical structure of the engine features a prominent operating handle, a massive cam stack, the printing mechanism, and a series of ten columns. Numbers are stored in figure wheels on these columns, making the engine a decade decimal digital machine. The digits are arranged vertically, moving from units at the bottom up through tens, hundreds, and thousands to achieve 31-digit precision. The core design relies on three main components: the figure wheel, the sector wheel, and a helical polling device that rotates to poll each decade.
---
[42:26](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2546s) Authenticity, CAD Drawings, and a Pitch to Google
To build the engine, the modern team had to translate Babbage's original 19th-century drawings into modern solid-model CAD drawings. While Babbage's drawings were incredibly detailed—fully specifying the shapes of the parts and what they needed to do—they lacked crucial manufacturing information. There were no details on manufacturing methods, tolerancing, choice of materials, or surface finishes. The modern team had to fill in these blanks by studying surviving 19th-century machines and performing chemical composition analyses on the metals Babbage actually used. This ensured they did not use materials of a higher specification than what was available in Babbage's day. Swade emphasizes the strict discipline of the project: “Authenticity was the watchword of the project; we had to resist the charge absolutely of somebody saying, 'You built the engine, but Babbage could not have.'”
Swade uses this moment to make an open pitch to Google. He shows a 3D simulation of the machine and expresses a desire to get Google interested in creating a complete, highly detailed simulation of Babbage's even more complex Analytical Engine. Furthermore, he urges the digitization of the Babbage archive in London. Currently, the physical archive is located 70 miles outside of London, and only three people have ever thoroughly studied it: one who is now deceased, one who is in his 90s, and Swade himself. "This stuff needs to be made available to the public," Swade pleads, jokingly adding, "I think Google should adopt Babbage—end of advertisement."
---
[43:41](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2621s) Running the Engine: "Big Iron" in Motion
Swade shares a video demonstration of the Difference Engine No. 2 operating, noting that "there is no substitute for seeing this machine run, especially with its sound." The video captures the heavy, rhythmic mechanical symphony of the engine. The audience hears the sharp, slapping sound of the "sword blades"—the mechanical locks—clamping into place to secure the wheels, followed by the distinct sound of the printing mechanism taking an ink impression.
The video highlights the massive cam stack turning and shifting to execute its mechanical microprogram. The machine utilizes pipelining to optimize its calculations, splitting the work between odd and even columns. The odd axes (columns 1, 3, 5, and 7) perform their additions in one half-cycle, while the even axes calculate during the other half-cycle. The values are added, the results are transferred down the columns, and the final output is sent to the printer. Swade points out that the cam stack in the video is heavily coated in a dark grease, making it look a bit messy, whereas the duplicate machine at the Computer History Museum is much cleaner because it uses a modern transparent grease. "This is heavy machinery; this is Big Iron," Swade remarks, pointing out how quickly the locks must slide in and out, and noting that the pressure angles were so steep that the team couldn't even turn the handle when they first assembled it.
```mermaid flowchart TD accTitle: Babbage Difference Engine No. 2 Printing and Stereotyping Process accDescr: Flowchart showing how numerical values are mechanically transferred from figure wheels to print wheels, and then simultaneously printed on paper and pressed into stereotype trays.
subgraph ValueTransfer ["1. Mechanical Value Transfer"] A["Figure Wheel (Horizontal Plane)"] --> B["Sector Wheels & Racks"] B --> C["Spindles & Vertical Racks"] C --> D["Print Wheels (Vertical Plane)"] end
subgraph DualOutput ["2. Simultaneous Output"] D --> E["Ink Rollers & Paper Feed"] D --> F["Stereotype Heads (Small & Large Fonts)"] end
subgraph FinalProducts ["3. End Products"] E --> G["Ink Print Copy (For Record Keeping)"] F --> H["Plaster of Paris Trays (Stereotype Plates)"] end ```
---
[45:00](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2700s) Slicing Pineapples and Secondary Carries
As the video demonstration transitions to the front of the machine, the shifting, alternating motion of the odd and even columns becomes clearly visible. Swade marvels at the sheer visual beauty of the mechanism, joking, "Who cares whether it works when it looks like that!" The video then focuses on the back of the engine to show the carry mechanism. These parts are incredibly sharp and move with immense mechanical force. Swade warns of the physical danger of the machine, noting that "if you held a pineapple up to it, it would slice it," and jokes that "you can tell a Babbage engineer by his hand."
The carry mechanism works by polling each decade in turn. Crucially, the machine is designed to handle "secondary carries"—which are carries that occur as a cascading result of previous carries. The mechanical logic must propagate these carries up through the columns of figure wheels to ensure absolute mathematical accuracy. After demonstrating these movements, Swade pauses to check the time, offering to either take questions or continue explaining the printing and stereotyping mechanisms.
---
[46:53](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2813s) The Mechanics of Printing and Stereotyping
Swade continues by explaining the mechanical genius behind the printing and stereotyping system. The fundamental engineering challenge Babbage faced was spatial: “The problem is: how do you get a value from a figure wheel in that plane to a print wheel in that plane?” To bridge this gap, Babbage designed an intricate mechanical train consisting of sector wheels, horizontal racks, vertical spindles, and vertical racks. When the figure wheels turn, this system of gears and racks translates the horizontal rotation into vertical movement, transferring the calculated value directly to the print wheels. While the engine calculates to 31 digits of precision, it prints the results to 30 digits.
A 3D simulation illustrates the step-by-step printing cycle. The paper stock is fed through rollers, and the newly calculated result on the print wheels is inked. The paper carriage then moves up to take an ink impression. The physical action of the carriage rising automatically winds the paper forward to prepare for the next line. The print wheels then reset to zero, receive the next calculated result, and the cycle repeats. Swade notes with a smile that the virtual simulation is completely silent, unlike the clattering reality of the physical machine.
---
[48:24](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2904s) Stereotyping in Plaster and the Ink Bath
At the same time the machine is printing on paper, it is also performing stereotyping. Because these actions happen in parallel, there is absolutely no printing overhead. The stereotyping process uses trays filled with a soft material—plaster of Paris was used for the team's very first experimental runs. The stereotype heads, which feature both small and large fonts, press directly down into these plaster trays to create molds. The trays index automatically at different rates to adjust for different line heights. Because the trays have two degrees of freedom, they automatically jump across to start a new column when they reach the end of a page.
The ink print on paper is intended only for immediate record-keeping and proofing; the actual mass production of mathematical tables is done by casting metal printing plates from these plaster stereotype molds. Swade explains the revolutionary nature of this design: “You've eliminated the human from the loop entirely, from calculation to the production of stereotype plates.” To ensure perfect alignment and formatting, the trays are driven by falling weights rather than the manual turning of the operator's handle, removing human inconsistency from the indexing process. The entire layout is programmed mechanically via pattern wheels. Finally, Swade highlights the details of the ink bath, which features a cover, thick "gooey" ink, a print roller, and a spreader roll. Driven by a snail cam, the spreader roll slides back and forth to smear the ink both horizontally and vertically, ensuring an even coat for every single print.
[50:56](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3056s) Printing Simulation and Mechanical Timing
Doron Swade walks through the final stages of the Difference Engine simulation, pointing directly into the printing mechanism to illustrate how it accepts and outputs data. Rather than generating output all at once, the machine operates incrementally. The print wheels receive the computed results from the calculating columns, and the audience can see them in action as they press down to produce a hard copy. Swade highlights the exceptionally rapid timing cycle required by the machinery: “watch that print wheel come down now boom boom it has to get out of the way before it comes out.” A sweep arm automatically advances the paper roll once each impression is made, following a precise sequence where each new result is inked, pressed into paper, and then cleared as the mechanism resets to zero.
The printer can also be configured to include an index column alongside the calculation. As shown in the simulation, the independent variable $x$ increments sequentially from $131$ to $132$, while the adjacent print wheels register a high-precision result extending up to $27$ digits (within a $33$-digit capacity). The visual simulation cleanly conveys the internal mechanical logic of how the calculating engine and printing section coordinate their movements step by step.
```mermaid flowchart LR accTitle: Difference Engine Output Cycle accDescr: Three-step pipeline showing the flow from calculation to index stepping and printing. subgraph Calculation ["Calculating Section"] A["Figure Wheels"] -->|"Transfer result"| B["Print Wheels"] end subgraph Printing ["Print Mechanism"] B -->|"Rapid cycle (boom-boom)"| C["Inked Impression"] C -->|"Paper sweep"| D["Advance Paper & Reset to Zero"] end subgraph Indexing ["Table Sequence"] D -->|"Increment x (e.g., 131 to 132)"| E["Next 27-Digit Result"] end ```
---
[51:54](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3114s) Debugging a Monolithic Engine and “The Cogwheel Brain”
Swade explains the immense practical difficulties of maintaining and troubleshooting Difference Engine No. 2. The entire apparatus is a hardwired, monolithic system whose complex internal motions are synchronized exclusively by a central cam stack. Because Babbage never built a physical machine of this scale, his drawings did not include provisions for uncoupling components or isolating assemblies. When the engine jammed, Swade and his team could not simply detach the printer from the calculating frame. Instead, they had to resort to a painstaking process of elimination, using what Swade jokes was “the first world's first logic probe”—a simple mechanical pointer used to prod components, lever up the sector wheels and figure wheels, and wiggle the locks to detect where the mechanism was binding solid and where it still had mechanical play.
Turning to the project's documentation, Swade presents the history of the endeavor, written for the 1991 bicentennial of Babbage’s birth. The original volume covers the completion of the calculating engine in 1991, whereas the 2002 American edition—published under the title *The Cogwheel Brain*—features an updated account and photographs of the completed printing section. Swade explains that the title *The Cogwheel Brain* was deliberately selected to evoke Thomas Carlyle's concept of the mechanical age, reflecting both the internal and external lenses through which nineteenth-century society began to understand the world. It captures the emergence of a computational model of consciousness that only became possible once humanity conceived of autonomous machines. Swade concludes his formal presentation with a slide of the engine, describing it as a “sumptuous piece of engineering sculpture.”
---
[53:36](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3216s) Q&A: Setting Initial Values and the Choice of Decimal Arithmetic
Opening the floor to questions, an audience member asks how data was originally entered into the engine. Swade clarifies that the engine has no dynamic input during a run; operators can only input initial conditions by hand-setting numerical values directly onto the figure wheels. However, before touching the wheels, the operator must deliberately disengage the engine's internal security locks. Babbage had engineered the system to be virtually tamper-proof: “Babbage challenges you and says walk up to the machine even when it's functioning and attempt to derange it externally and you won't be able to.” To set up a calculation: - The operator calculates a setup table in advance by hand, determining the initial value of $x$ and the corresponding higher-order differences for the chosen polynomial (incorporating any positive or negative coefficients up to terms in $x^7$ or $x^6$). - The setup table explicitly accounts for the engine’s alternating odd-even pipelining offsets. - Using manual override levers, the operator releases the internal interlocks. - The machine is rotated to the odd axes setup point, where the odd-numbered columns are keyed in by hand and locked. - The engine is advanced to the even axes setup point to set columns 2, 4, 6, and 8. - The machine is reset to zero, the manual locks are re-engaged, and from that point onward, every completed cycle of the drive handle computes and prints the next sequential value in the mathematical table.
Another attendee asks whether Babbage considered binary arithmetic, and whether using binary would have made the engine easier to manufacture. Swade responds that Babbage thoroughly evaluated almost every practical number base, including 3, 5, 7, 12, 15, 100, and binary. He ultimately opted for a decimal, digital representation strictly out of engineering efficiency and physical economy. In mechanical computing, lower bases such as binary require far more digits to represent large values, which exponentially multiplies the total count of mechanical linkages and moving components. A higher base such as duodecimal or hexadecimal would have required complex radix conversions for practical use. Decimal offered the optimal trade-off: it eliminated the need for human base conversion while keeping the overall part count manageable.
---
[56:01](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3361s) Engineering Bugs, Babbage’s Omissions, and Modern Adaptations
Responding to a question about whether Babbage had designed test equipment like the “logic probe,” Swade notes that Babbage never had the opportunity to build the full machine and discover the necessity of diagnostic access points. Convinced that Babbage would have introduced decoupling mechanisms had he built the engine, Swade insisted on adding an independent handle and clutch to the printer drive. Because the printer sits roughly 11 feet away from the main calculating crank, fine-tuning print tolerances was impossible for a single operator. Furthermore, operating the printer to prime the ink roll previously required cycling the entire calculating engine, which corrupted the mathematical state and forced a complete re-entry of the setup table. The added clutch allows operators to disconnect the drive train and cycle the printer independently.
When asked if there were design bugs in Babbage’s original schematics, Swade explains that while the fundamental mathematical logic was sound, the archival drawings represented an incomplete, arrested engineering project rather than workshop-ready blueprints: - **Missing and floating parts:** Babbage's elevation drawings showed the inking rollers suspended unsupported in midair without brackets or frames. - **Inconsistent dimensions:** Identical parts differed in dimensions across various design sheets, requiring the team to harmonize measurements. - **Mechanical omissions:** The drawings featured omitted linkages alongside completely redundant mechanisms. - **A profound carry flaw:** In the drawings for the carry mechanism, the gearing was laid out in reverse: “The carry mechanism would not work not because it's not logical but because the wheels go in the wrong direction I mean it's that fundamental.” The team resolved this by mirror-imaging the original design, debating whether Babbage had made a simple drafting error, lacked oversight of his draftsmen, or intentionally inserted an anti-espionage trap to protect his intellectual property. - **Clutch redesign:** The paper rewind clutch, which automatically arrests the crank at the end of a page and rewinds the drive weights, suffered from excessive friction because it had to slide along a shaft while simultaneously resisting heavy rotational torque; the team redesigned it with a modified mechanism within the exact same physical envelope. - **Reversible modern additions:** All team modifications—including vertical counterbalancing weights on the racks, frame-reinforcing brackets, the printer crank handle, and a lower counterbalancing spring modeled after an authentic original spring—were made completely removable to safeguard historical authenticity.
---
[59:46](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3586s) Project Budgets: Nineteenth-Century Treasury vs. Modern Reconstruction
To conclude the session, an audience member inquires how Babbage’s historical budget compares to the cost of the modern replica. Swade recounts that between 1822 and 1832, Babbage had what amounted to a blank check from the British government, ultimately spending £17,500 of public funds. Swade calculates that sum to be roughly equivalent to $200 million today. In return for this vast expenditure, the British Treasury received virtually nothing functional—only a completed assembly representing roughly one-seventh of Difference Engine No. 1, which the government eventually returned to Babbage.
While Swade cannot provide an exact, all-inclusive balance sheet for the modern reconstruction—explaining that his own institutional salary and historical research hours were absorbed into the Science Museum’s general operational budget rather than billed separately—he reveals the machine's true financial scale through its replacement appraisal. For full loss, destruction, or irreparable damage, the insurance valuation of Difference Engine No. 2 stands at between $2.5 million and $3 million.
[01:00:33](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3633s) Costs, Comparisons, and Taking Orders for Google's Foyer
Reflecting on the financial scale of recreating Charles Babbage's mechanical marvel, Doron Swade explains that with the knowledge and expertise gained from their historical reconstruction, a Difference Engine could now be built from scratch for approximately that sum. He playfully contrasts their modern achievement with Babbage's original, ill-fated government-funded endeavor, noting that Babbage managed to spend roughly the equivalent of $200 million in contemporary terms without ever finishing a complete machine. By comparison, the modern team achieved a fully working engine for a fraction of that astronomical budget. Swade wraps up the lecture with an invitation to the tech giant's audience, quipping: “We did it for substantially less and if Google wants one for the foyer I'm taking orders.”
With the talk drawing to a close, the Google host steps up to bring the session to an end, acknowledging the tight schedule: “We're actually out of time so I want to thank you so much for coming to Google today thank you.” The presentation concludes amid enthusiastic applause from the audience.
- **Comparative expense:** Babbage expended the equivalent of roughly $200 million without completing the engine, whereas the modern team successfully engineered and built a working unit for substantially less money. - **Commercial readiness:** With the accumulated manufacturing drawings, tooling knowledge, and engineering insights, the team was positioned to replicate the engine from scratch upon request.
## Notable quotes > [42:26](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2546s) Authenticity was the watchword of the project; we had to resist the charge absolutely of somebody saying, 'You built the engine, but Babbage could not have. — Doron Swade
> [19:48](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=1188s) You did not need to understand how the machine worked or the principle upon which it's based in order to get useful results, and this was unprecedented. — Doron Swade
> [53:36](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=3216s) Babbage challenges you and says walk up to the machine even when it's functioning and attempt to derange it externally and you won't be able to. — Doron Swade
> [48:24](https://www.youtube.com/watch?v=7K5p_tBcrd0&t=2904s) You've eliminated the human from the loop entirely, from calculation to the production of stereotype plates. — Doron Swade
## Mentioned Charles Babbage, Doron Swade, Difference Engine No. 1, Difference Engine No. 2, Analytical Engine, Science Museum in London, Computer History Museum, Computer Conservation Society, Royal Holloway, University of London, The Cogwheel Brain, Thomas Carlyle, Hewlett-Packard, Napoleon Bonaparte, Georgiana Whitmore, Royal Society, Sir Thomas Lawrence, National Portrait Gallery, On the Economy of Machinery and Manufactures, Antoine Claudet, Sir Robert Peel, Fourth International Statistical Congress, Lucasian Chair of Mathematics, Alfred, Lord Tennyson, The Vision of Sin, John Herschel, Royal Observatory, Greenwich, Astronomical Society, Harry Wilmot Buxton, Ada Lovelace, Lady Byron, Alan Turing, Joseph Clement, Google, Mechanical Notation, British Treasury
## Video description In 1821, Charles Babbage was reviewing a set of mathematical tables with a colleague in preparation for a scientific presentation when, after finding a wealth of errors, he exclaimed in frustration, "I wish to God these calculations had been executed by steam!" With this outburst, Babbage began to envision an end to human errors in the numerical tables upon which finance, trade, science, and navigation relied. The Difference Engine is the fascinating story of his heroic quest, against all odds, to build the first computing machine more than one hundred years before the modern computer we use today was invented.
Doron Swade, an engineer, technology historian, and leading authority on Charles Babbage, was previously the assistant director and head of collections at London's Science Museum and is now Director of the Babbage project. He is also the mastermind of a seventeen-year project to construct a Babbage calculating engine from original nineteenth century designs.
This talk took place on May 8, 2008 at Google's Mountain View, CA headquarters as part of the Authors@Google program.
[Source](https://www.youtube.com/watch?v=7K5p_tBcrd0)