Margaret Hamilton, the trailblazing computer scientist whose software guided Apollo 11 to the Moon, passed away at the age of 90 on 30 September. Her death was confirmed by the Massachusetts Institute of Technology (MIT), where she spent more than a decade shaping the discipline now known as software engineering.

From mathematics student to software pioneer

Born in Indiana in 1936, Hamilton first studied mathematics at the University of Michigan before completing a BA in mathematics at Earlham College in 1958. She moved to Boston a year later, initially taking a position at MIT to support her husband’s law studies. That decision set her on a path that would redefine computing.

Building the code that landed humans on the Moon

At MIT, Hamilton joined the newly formed Software Engineering Division in 1959 and eventually managed it. In that role she led a team of engineers tasked with writing and testing all onboard, in‑flight software for NASA’s Apollo missions. The division’s work was crucial for the historic Apollo 11 landing, guiding Neil Armstrong and Buzz Aldrin to the lunar surface.

One of the most dramatic moments came moments before the landing when the onboard computer raised an alarm, indicating an overload. Hamilton’s team had anticipated such a scenario and designed “priority‑driven software” that could suspend background tasks and focus processing power on the essential landing functions. This foresight allowed the mission to continue despite the error.

Legacy of a term and a photograph

Hamilton’s contributions helped coin the phrase “software engineering,” a term that was still emerging when she first used it. Her impact was visually captured in a 1969 photograph showing her beside a towering stack of printed code – an image that has become iconic in the history of computing.

Recognition and later work

In 2016, President Barack Obama awarded Hamilton the Presidential Medal of Freedom, praising her as a symbol of the “unsung women who helped send humankind into space.” After leaving MIT in the mid‑1970s, she founded her own software enterprises, including Hamilton Technologies, which continues to operate in Massachusetts.

Personal reflections and remembrance

Hamilton once told The Guardian that she was attracted to the work because it was “the sheer idea and the fact that it had never been done before.” She also noted she was the first programmer hired by MIT and the first woman on the team. Colleagues and institutions have expressed deep sorrow at her passing. MIT’s statement called her a pioneer, while Earlham College highlighted her “pioneering spirit and remarkable legacy.”

Family and final thoughts

According to MIT, Hamilton is survived by her daughter, a son‑in‑law, two grandsons and four great‑grandchildren. Her life’s work, from the early days of spaceflight to modern software enterprises, stands as a testament to the power of ingenuity and perseverance.

Margaret Hamilton’s story reminds us that behind every great technological leap lies the dedication of individuals who dare to write the code that makes the impossible possible.