The Space Race: Sputnik to Apollo 11 · 6 Aug 2026 · 15 min

1202 Alarm: The Code That Saved the Moon Landing

Four minutes from the lunar surface, an unknown alarm threatened to abort Apollo 11 — and Margaret Hamilton's software made the difference between triumph and disaster. This is the story of how one engineer turned code into a lifeline 240,000 miles from Earth.

The Space Race: Sputnik to Apollo 11
Now Playing
1202 Alarm: The Code That Saved the Moon Landing

Audio is available on Spreaker — see link below.

What's covered

The Machine That Had to Think

Before Margaret Hamilton, the word "software" didn't mean what it means now. It barely meant anything.

Listen now →

What the Program Was Actually For

We've tracked this story from Sputnik's radio beep in October nineteen fifty-seven through the rival empires built by Wernher von Braun and Sergei Korolev. We've covered Gagarin's single orbit, Glenn's three, the horror of Apollo One and Soyuz One, and Gemini's largely unsung decade of preparation.

Listen now →

Margaret Hamilton at the MIT Instrumentation Lab

Margaret Hamilton arrived at the Massachusetts Institute of Technology's Instrumentation Laboratory in the early nineteen sixties. She'd planned to pursue graduate work in mathematics.

Listen now →

The Problem of Priority

The Apollo Guidance Computer ran on a system that Hamilton's team designed from first principles. One of its most critical features was something that sounds simple but wasn't: the ability to prioritize.

Listen now →

The Alarms That Almost Stopped the Landing

Neil Armstrong and Buzz Aldrin were four minutes from the lunar surface when a warning alarm sounded. The code was twelve-oh-two.

Listen now →

The Scale Behind the Code

Hamilton wasn't working alone. Nobody on Apollo was.

Listen now →

The Cold War Context That Made It Urgent

None of this happened in a vacuum. The urgency behind Hamilton's work, behind every component of Apollo, traced directly back to the rivalry that had been running since Sputnik.

Listen now →

From Weapons to Navigation

The hardware Hamilton wrote code for didn't emerge from nowhere either. Von Braun's path from Peenemünde to Huntsville, from V-2 rockets built with concentration camp labor to Saturn V's five first-stage engines, ran through the same industrial military infrastructure that produced the guidance systems Hamilton's team was programming.

Listen now →

What Hamilton Named and What It Became

When Hamilton called her discipline software engineering, the name was a provocation as much as a description. The engineers around her, the ones who built hardware, were skeptical.

Listen now →

Earthrise Is Coming

Three weeks before Apollo Eleven launched, Apollo Ten had completed a full dress rehearsal in lunar orbit. The mission profile worked.

Listen now →

Nine Hundred Million Witnesses

On July twentieth, nineteen sixty-nine, nine hundred million people watched Neil Armstrong step onto the lunar surface. That was roughly one in four people on the planet at the time.

Listen now →

What the Software Left Behind

Margaret Hamilton received the Presidential Medal of Freedom in twenty sixteen. The citation acknowledged her role in developing the software that took humans to the Moon and recognized her coinage of the term software engineering.

Listen now →

Chapter summary auto-generated from the verified script. Listen to the full episode for the complete content.

More episodes

From The Space Race: Sputnik to Apollo 11