Margaret Hamilton (software engineer)
Led Apollo flight software development; coined 'software engineering'.
She led the development of the on-board flight software for NASA's Apollo Guidance Computer for the Apollo program, and later founded two software companies.
- field
- Computer science, software engineering
- nationality
- American
- known_for
- Leading development of Apollo flight software; coining 'software engineering'
Lore & Background
She cites Florence Long, head of the math department at Earlham, as helping her pursue abstract mathematics. Air Force. She was responsible for writing and testing all onboard in-flight software for the Apollo Command and Lunar Module and Skylab. During the Apollo 11 landing, the on-board flight software averted an abort when computer alarms were triggered. Hamilton's priority alarm displays interrupted normal displays to warn astronauts of an emergency, giving them a go/no-go decision. The software's error detection and recovery techniques, including 'kill and recompute' and snapshot rollback, allowed the landing to proceed. Jack Garman in mission control recognized the errors and shouted 'Go, go!'
Reader's Guide
Margaret Hamilton's significance lies in her pioneering role in software engineering at a time when the field did not formally exist. She directed the team that created the on-board flight software for the Apollo Guidance Computer, which was critical to the success of the Apollo Moon missions. Her work on error detection and recovery, including priority displays and asynchronous software design, directly contributed to handling the Apollo 11 landing alarms. She coined the term 'software engineering' to distinguish it from hardware engineering, emphasizing its role within systems engineering. Her legacy includes foundational concepts in ultra-reliable software design and the professionalization of software engineering.
Did You Know?
- Hamilton coined the term 'software engineering' to distinguish it from hardware engineering.
- She was the first female programmer hired for the Apollo project at MIT.
- Her priority alarm displays during Apollo 11 gave astronauts a go/no-go decision for landing.
From Weather Models to the Moon
Margaret Hamilton's professional trajectory spans an extraordinary range of computational work. Her career at MIT began in the meteorology department under Edward Norton Lorenz, where she wrote weather-prediction software on the LGP-30 and PDP-1 machines at Marvin Minsky's Project MAC. That early work later contributed to Lorenz's own publications on chaos theory, a connection he himself acknowledged.
The Priority Display and the Apollo 11 Descent
The most dramatic test of Hamilton's engineering came during the final three minutes of the Apollo 11 lunar descent. Buzz Aldrin, following a routine he had practiced repeatedly in the simulator, entered codes requesting the computer to display altitude and other data. The system was architected to handle seven simultaneous programs, but Aldrin's request became an eighth. The result was a cascade of unexpected error alarms that interrupted the astronauts with what Hamilton had called "never supposed to happen displays." These were the Priority Displays she had designed and developed as part of the error-detection and recovery software. Hamilton had anticipated years in advance that the switchover to new programs behind the alarm screens could lag a step behind what the astronauts expected, creating a dangerous desynchronization between human and machine. Her failsafe architecture, built into the onboard flight software, captured those alarms and kept the landing sequence on track rather than triggering an abort. The system she had engineered in a lab in Cambridge, Massachusetts, ultimately allowed the first crewed Moon landing to proceed.
Naming a Discipline and Earning National Recognition
Hamilton's influence extends well beyond any single mission. She is credited with coining the term "software engineering," a phrase she introduced to set the discipline apart from hardware and other branches of engineering while still treating each as a component of a broader systems-engineering process. At the time she was doing this work, computer science was not yet an established academic field and dedicated software-engineering courses did not exist; programmers learned through hands-on, on-the-job experience. She was also the first woman to serve as a programmer on the Apollo project at MIT, a distinction that underscores how few women occupied technical roles in aerospace computing during the 1960s.
Roots in Indiana and a Love of Abstract Thought
Hamilton has pointed to Florence Long, who headed the mathematics department at Earlham, as a key figure in nurturing her ambition to pursue abstract mathematics and eventually become a professor. The philosophy minor, she explained, was inspired by her poet father and her grandfather, who had served as a headmaster. After college she initially planned to enroll in graduate study in abstract mathematics at Brandeis University in Boston, a path that would have kept her firmly in pure mathematics had circumstances not redirected her toward computing.
More in Pioneers Of Computing And Information Theory 1-18
Spotted an error? Know more?
This is a living reference — every entry is fact-audited, and reader corrections feed straight into our audit queue. Suggest an edit · See this site's audit record
