NEW YORK โ The Intrepid Museum in New York City kicked off a summer of Apollo events May 23 by honoring software engineer Margaret Hamilton with the institutionโs Lifetime Achievement Award.
Hamilton led the team of programmers who ran the computers on both the command module and the landing module of the Apollo 11 mission. When she began her career, the field was so young that the term software engineering did not yet exist; Hamilton coined it herself.
โThe software experience itself was at least as exciting as the events surrounding the mission,โ Hamilton said during her acceptance speech at the awards ceremony. โAs developers, we had the opportunity of a lifetime, to make every kind of error humanly possible.โ
All those errors were made before Apollo 11 launched, to be clear. As Hamilton and her colleagues were working on the project, they were always conscious of how well-tuned the software needed to be.
โAstronautsโ lives were at stake. It had to work. The first time,โ Hamilton said. โNot only did it have to be ultrareliable, it would need to be able to detect an error and recover from it in real time. Problems had to be solved [that programmers had] never solved before.โ
But Hamilton also recounted a key turning point of the mission, just as Neil Armstrong and Buzz Aldrin were preparing to touch down. โEverything was going perfectly; Walter Cronkite was reporting the mission in great detail,โ she said. โAll of a sudden, something totally unexpected happened. Just as the astronauts were about to land on the moon, the softwareโs priority displays interrupted the astronautsโ normal mission displays and replaced them with priority alarm displays to warn them there was an emergency.โ
The alert was triggered by a switch that was misaligned; the astronauts fixed it and landed safely. โThe Apollo 11 astronauts became the first humans to walk on the moon,โ Hamilton said. โOur software became the first software to run on the moon.โ
That moment was pivotal for more than just the field of computer science, former NASA astronaut Mike Massimino, who presented Hamilton with the award, noted during his introduction. โIt is because of developments like this and pioneers like Margaret that the United States was able to continue its work that led ultimately to a reusable spacecraft, the space shuttles, which I had the privilege to fly on twice,โ he said. โI and all of my astronaut colleagues owe you a personal debt of gratitude.โ
During her remarks, Hamilton also shared memories from her career before joining the Apollo effort, including how she began her computer science work by developing programs to better predict the weather. She also touched on her software engineering work on MITโs Semi-Automatic Ground Environment (SAGE) project, which helped military personnel detect enemy planes.
That program ran on a notably cantankerous computer, she said. โThe machine was huge; if your program crashed, the computer would tell on you with sirenlike and foghornlike sounds throughout the building that everybody could hear and flashing lights that everyone could see,โ Hamilton said. โEveryone would come running to find out who the guilty one was. We used a Polaroid camera to take a picture of the bug together with the person who caused it.โ
Hamilton is still an active software engineer, pursuing a new system that prevents errors before they occur, rather than addressing them after they arise. That work builds directly on her experience with the Apollo program, she mentioned during her remarks.
โWhatever success I may have experienced, much of it was because I was in the right place at the right time with the right opportunities and the right people,โ Hamilton said. โI had the benefit of beginning with no preconceived notions. Much of the credit goes not only to those I have learned from, but also to the errors I have had the opportunity of having had some responsibility in their making, without which we would not have been able to learn the things we did.โ
Those glitches and mistaken pathways were crucial, she continued. โThe errors showed us what to do and where to go, each holding answers to questions we had not thought of asking,โ Hamilton said. โThey told us how to exist without them.โ
