dark mode light mode Search Menu

Grace Hopper

Charis Tsevis

One of the first female programmers, Grace Hopper also worked as a mathematician and had an unusual career for women in the 1900s.

As a child, she took apart seven alarm clocks before her mother realized her daughter would not stop until she figured out how they worked. At the end of her career, Hopper had reached the rank of Rear Admiral in the US Navy with a ship named after her. In between, she was the third programmer hired to program the IBM Mark I at Harvard in 1944, the first modern computer, she developed the first software compiler to translate high level programming code into machine code computers could understand, taught mathematics and programming, worked in business, and helped the US Navy standardize its computing efforts.

Like John Backus, the IBM project leader whose team created FORTRAN, Hopper was very approachable. When she taught mathematics at Vassar, for example, she made her students play bridge, a card game, then calculate odds for different hands and outcomes. She’s also famous for introducing the idea of debugging software because of a moth that landed on an early computer and stopped the machine. Hopper teased that they had to debug the machine, then pasted the hapless moth into a notebook which is now in the Smithsonian museum.

Hopper also said, “Women turn out to be very good programmers for one very good reason. They tend to finish up things, and men don’t very often finish.” While I won’t argue the merits, Hopper is proof women can accomplish great things with technology.

Born on December 9, 1906 in New York, Grace Hopper had a natural interest in math and sciences. Her mother enjoyed mathematics. Her father worked as an insurance broker and had a large book collection. As a child, she built odd things with her Struktiron kit of beams, nuts, and bolts, what today we call Erector sets or Legos.

She entered Vassar College to major in mathematics and physics, then earned her masters and PhD at Yale, all by 1934. And she found time to marry Vincent Hopper, an English instructor at New York University, in 1930. She started teaching at Vassar in 1930, after her honeymoon, and earned her PhD while teaching.

When the US entered World War II, Grace Hopper eagerly tried to join. However, Hopper was too old at age 36 and 15 pounds under the minimum weight of 115 pounds. Plus she was a woman.

In 1943, the Navy accepted women to serve stateside to help free up men to serve at sea. Hopper took a leave of absence from teaching at Vassar, convinced the military to overlook her age and weight, and joined the WAVES, or Women Accepted for Voluntary Emergency Service. She graduated top of her class (no surprise) from Midshipman’s School as Lieutenant Junior Grade (JG).

Because of her advanced degrees and her teaching experience, Hopper was assigned to the Bureau of Ordnance Computation Project to help compute firing tables for naval weapons. She went to work with the IBM Mark I computer at Harvard.

Built from switches, relays, rotating shafts, and clutches, the Mark I used 765,000 components and hundreds of miles of wire. The Mark I was 51 feet long, eight feet high, and two feet deep. It weighed 10,000 pounds. The basic calculating units had to be synchronized mechanically, so they were run by a 50-foot shaft driven by a five-horsepower electric motor. The Mark I had 72 words of storage and could perform three additions a second.

Hopper wrote the firing tables as a set of instructions translated into binary code, zeros and ones, the Mark I could understand. The binary code was a series of holes punched into paper tape. The computer read a punched hole on tape as 1 and no hole as 0.

In 1949, she went to work for Eckert-Mauchley Computer Corporation helping to build the first Univacs (Universal Automatic Computer). The first digital computers, Univacs used vacuum tubes instead of relay switches. It also had internal memory to hold instructions.

Her original staff at Eckert-Mauchley included four men and four women. One of her projects helped the computer translate its own codes and use pre-programmed subroutines. The A-0 compiler was the first software able to translate programming languages people use into machine code computers understand. Hopper also encouraged her team to share common bits of programs to reduce duplication of effort.

The switch from the Navy and academia at Harvard to business repeated itself through the rest of Hopper’s career. She retired from the Navy many times only to be called back to active duty to work on projects and lead teams on computer projects.

Throughout, she advocated ideas we now consider common sense, for example, the use of many computers instead of massive computers like the Mark I or Univac. Or, as Hopper put it, “In pioneer days they used oxen for heavy pulling, and when one ox couldn’t budge a log, they didn’t try to grow a larger ox. We shouldn’t be trying for bigger computers, but for more systems of computers.”

Perhaps the most accurate description of Hopper came from Jay Elliot, who described Grace Hopper as appearing to be “‘all Navy’, but when you reach inside, you find a ‘Pirate’ dying to be released”. Whether destroying alarm clocks as a child or pasting a burnt moth into a computer log, Hopper had a genuine ability to engage people and technology.

Learn More

Grace Hopper


Mark I