Grace Hopper, the Navy Programmer Who Could Hand You a Nanosecond
In 1985, Navy officer and computer pioneer Grace Hopper brought a bundle of wire to a talk at the Smithsonian. She wanted everyone in the room to take home a nanosecond.
In empty space, light travels just under a foot in a billionth of a second. Each piece of wire was about that long, so people could hold one end in each hand and see why distance mattered inside a fast computer.
By the time the Smithsonian collected those wires, the team Hopper led had taught a computer to take orders in English. Their work helped shape COBOL, a language a business could use to run its payroll.
Grace Hopper at a Glance
- Born Grace Brewster Murray in New York City in 1906, she studied math and physics at Vassar and earned a doctorate in math at Yale in 1934.
- During World War II she joined the Navy Reserve. At Harvard she programmed the Mark I computer and wrote its 561-page instruction manual.
- Her A-0 system let programmers assemble new programs from pieces they had already written.
- She led the team behind FLOW-MATIC, a language that let people give a computer orders in English words. It helped shape COBOL, the common language built for business.
- The Navy retired her in 1966, called her back in 1967 and finally let her go in 1986. By then she was a rear admiral and 79 years old.
The Professor Who Had to Take Exams Again
At seven, Grace wanted to know how an alarm clock worked. According to Vassar's account of her childhood, she took apart seven of them in the course of finding out.
Her mother set a limit. Grace still had permission to experiment, but from then on she had to make do with one clock.
- Open almost any phone, console or laptop without stripping a screw.
- Stop losing tiny bits and screws with the magnetic case.
- Fix your own devices instead of paying for a repair.
Her mother loved geometry, and her father wanted his two daughters to have the same chances at school as their brother. Grace graduated from Vassar in 1928 and went on to graduate school at Yale.
In 1930 she married Vincent Hopper, an English teacher. She went back to Vassar to teach math while she finished her doctorate.
She made her math students work out how many cars could park on a street and what happened as spaces opened up. She also gave them writing assignments, which came as a surprise to students who thought they'd signed up to do sums.
When the United States entered World War II, Hopper wanted to join the Navy. Recruiters had doubts about both her age and her weight, and Vassar had a math department to staff.
She got a waiver from the Navy and leave from the college. At officer training in 1944 she found herself in class with women she'd recently taught, all of them facing exams again.
The students had one advantage over their former professor. They'd had rather more recent practice taking them.
A Computer With a Code Book and Three Coders
In July 1944, Lieutenant Hopper reported for duty at Harvard. Commander Howard Aiken put her to work on the Mark I, a computer built by IBM that stretched about 50 feet from end to end and took instructions from holes punched in paper tape.
Two other naval officers, Richard Bloch and Robert Campbell, had worked on the machine while it was still being built. Hopper joined them in turning long calculations into steps the Mark I could follow.
Each coder kept a notebook of instructions worth using again. When Hopper needed a certain bit of math, she remembered asking to copy it out of Bloch's notebook.
Bloch, she said, was the one programmer she knew who could get it right in ink the first time.
Aiken gave Hopper another assignment. Someone had to gather up what the group knew and write the instruction manual for the machine.
She read five pages of her draft aloud each day. If she got tangled up in a sentence, Aiken made her go back and fix it, a habit she later passed on to the people who wrote reports for her.
In 1947, the crew working on the next machine, the Mark II, found a moth caught in a relay, an electrical switch. They taped it into the lab's logbook.
Engineers already called faults bugs. This one had wings, and Hopper helped make it famous by telling the story.
Teaching a Machine the Language of the Stockroom
In 1949, Hopper went to Philadelphia for a job interview with computer maker John Mauchly and programmer Betty Holberton. IBM had made her a handsome offer, but she wanted to work with Mauchly and joined the group building programs for a new computer called UNIVAC.
Holberton had written a program that could produce another program for sorting records. In her 1980 oral history, Hopper credited Holberton with giving her the nerve to try an idea of her own.
Her A-0 system, running by 1952, drew on a library of instructions. A programmer could call for a piece by number and let the computer gather the pieces into a new program, a job Hopper had once done with a notebook and a pencil.
Hopper called this kind of tool a compiler. Next, she had a question about the people who might actually use one.
What about the person who ran a stockroom or made up the payroll and had perfectly good words for everything the business needed to do?
By 1956, her team had FLOW-MATIC running. In one example from the original manual, the program compared a product number on an inventory list with one on a price list.
A stockroom clerk could follow what happened when an item had a matching price or when its price was missing. Getting two lists of business records to agree is still a good day's work for someone with a database.
- Write queries that pull exactly the data you want.
- Understand what a command will do before you run it on real data.
- Move past copy-and-paste with examples you can practice on.
In another demonstration, Hopper's group swapped in French and German verbs and nouns. She remembered meeting resistance to the idea that a machine built in Philadelphia could possibly understand French.
One Program, Two Rival Computers
In 1959 a group drawn from industry and government began designing a common language for business. Hopper advised the group, and its members drew on FLOW-MATIC as they developed COBOL.
The name stood for Common Business-Oriented Language. The hard part was getting rival computer makers to agree on what the words meant, so customers could change machines and keep their programs.
In December 1960, teams at UNIVAC and RCA ran the same COBOL program on two different makes of computer. Two of Hopper's former colleagues, Bud Lawson and Howard Bromberg, later told the story together, one from each side of the contest.
The Navy could use that kind of proof. In 1967, just months after age rules forced Hopper to retire from the reserve, it called her back to help make sure its computers could run the programs their makers promised.
A young sailor named George Baird wrote some of the early tests for COBOL. When their team had to report to a roomful of senior people, Hopper brought Baird along and had him explain his own work.
Eventually he ran the federal service that tested compilers.
After retiring from the Navy in 1986, Hopper went to work for the Digital Equipment Corporation. She died in 1992 at 85.
A Navy destroyer and an NVIDIA chip design now carry her name.
When Hopper received the National Medal of Technology in 1991, her acceptance remarks singled out the work she was proudest of. She picked the young people she'd trained, including the ones who'd once needed a little push to get up and speak for themselves.
Alan Turing: The Codebreaker Who Asked Whether Machines Could Think

Dennis Ritchie, the Bell Labs Programmer Who Gave Us C

Steve Bourne: The Man Who Turned a Command Prompt Into a Language

QUOTE:
"Amateurs hack systems, professionals hack people."

