Header Ads Widget

Responsive Advertisement

The Navy Said She Was Too Old and Too Small — Then She Taught Computers to Speak English: The Grace Hopper Story

Grace Hopper, the Navy rear admiral who invented the first compiler and helped create COBOL, turned a moth, a clock and a piece of wire into the foundations of modern computing.

In 1952, a mathematician at a small computer company in Philadelphia finished a program that did something the experts said was impossible. Her program took instructions written in symbols, translated them into machine code, and ran them — automatically. She called it a compiler. When she showed it to her colleagues, they did not believe her. "I had a running compiler and nobody would touch it," she said later. "They told me computers could only do arithmetic." Within a decade, her idea had changed computing forever. The woman was Grace Hopper — a Navy rear admiral who taught computers to understand English.

Rear Admiral Grace Hopper in her Navy uniform holding up a bundle of short wires — her famous "nanoseconds" teaching aid

The Girl Who Took the Clocks Apart

Grace Brewster Murray was born in New York City on 9 December 1906, the eldest of three children. From her earliest years, she was curious about how things worked — and she was not content to wonder from a distance. At the age of seven, she decided to find out how an alarm clock worked, and she dismantled seven of them before her mother realised what she was doing. She was then limited to one clock at a time.

That curiosity never left her. She attended the Hartridge School in New Jersey and entered Vassar College, graduating Phi Beta Kappa in 1928 with a degree in mathematics and physics. She went on to Yale University, earning a master's degree in 1930 and a Ph.D. in mathematics in 1934. She began teaching mathematics at Vassar in 1931 and was promoted to associate professor in 1941.

Too Old, Too Small — and Too Valuable to Lose

When the United States entered the Second World War, Hopper tried to join the Navy. She was turned down three times over. At thirty-four, she was too old to enlist. At barely over a hundred pounds, she was fifteen pounds below the Navy's minimum weight of 120 pounds. And her job as a mathematics professor, the Navy told her, was too valuable to the war effort to give up.

In December 1943, she obtained a leave of absence from Vassar and was sworn into the United States Navy Reserve, one of many women who volunteered to serve in the WAVES. She trained at the Naval Reserve Midshipmen's School at Smith College, graduated first in her class in 1944, and was assigned to the Bureau of Ships Computation Project at Harvard University. There she joined the programming staff of the Harvard Mark I computer under Howard H. Aiken. Hopper was one of the first programmers of the Mark I, co-authored three papers on the machine, and wrote the first computer manual.

The Moth in the Machine

At the end of the war, Hopper asked to transfer to the regular Navy. She was refused again — she was two years past the cut-off age of thirty-eight. She stayed at the Harvard Computation Lab until 1949, turning down a full professorship at Vassar. It was at Harvard, on 9 September 1947, that the most famous insect in computing history turned up. While the team was working on the Mark II computer, a moth was found stuck in one of its relays. The engineers taped the moth into the logbook with the note: "First actual case of bug being found." Hopper popularised the words "bug" and "debugging" for computers.

In 1949, Hopper left Harvard to join the Eckert-Mauchly Computer Corporation in Philadelphia as a senior mathematician, working on the team developing the UNIVAC I, the first large-scale electronic computer to go on the market, in 1951. The UNIVAC was a monster — eight feet high, fourteen feet long, with 5,000 vacuum tubes. She was already thinking about something no one else believed possible.

Grace Hopper seated at the UNIVAC I computer console around 1960

"They Told Me Computers Could Only Do Arithmetic"

Hopper's great insight was simple and radical: computers should not only do arithmetic. They should be told what to do in a language people could actually use, and then translate those instructions into machine code themselves. In 1952, she finished her A-0 system — the first compiler, a program that translated symbolic instructions into machine code automatically. Her colleagues did not believe it would work. "Nobody believed that," she said. "I had a running compiler and nobody would touch it. They told me computers could only do arithmetic." She proved them wrong. In 1954, she became the company's first Director of Automatic Programming, and her department released FLOW-MATIC, the first programming language to use English-like statements.

When Hopper proposed a programming language in entirely English words, she was told computers did not understand English. She persisted. "It's much easier for most people to write an English statement than it is to use symbols," she explained. "So I decided data processors ought to be able to write their programs in English, and the computers would translate them into machine code." In 1959, a committee of industry and government experts defined COBOL, the Common Business-Oriented Language, building on her FLOW-MATIC. COBOL let programmers write "Subtract income tax from pay" instead of struggling with octal code and symbols, and it went on to become the most widely used business language in history. She became known as "Grandma COBOL" and "Amazing Grace."

The Nanosecond and the Clock That Ran Backwards

Hopper was also one of computing's great teachers. When admirals and generals asked her why satellite communication took so long, she did not give them a lecture. She handed them a piece of wire, just under a foot long — 11.8 inches, the distance light travels in one nanosecond, a billionth of a second. She called the wires "nanoseconds," and held up a 984-foot coil — a microsecond — to show what they threw away when they wasted microseconds.

She kept a clock on her wall that ran counterclockwise. "Humans are allergic to change," she explained. "They love to say, 'We've always done it this way.' I try to fight that. That's why I have a clock on my wall that runs counterclockwise." Her most famous piece of advice captured the same spirit: "It's easier to ask forgiveness than it is to get permission." She lived by it.

The Navy Could Not Let Her Go

In accordance with Navy regulations, Hopper retired from the Naval Reserve with the rank of commander at the age of sixty at the end of 1966. The Navy called her back to active duty in August 1967, for what was supposed to be six months. It turned into an indefinite assignment. She retired again in 1971 — and was asked back again in 1972. From 1967 to 1977, she served as director of the Navy Programming Languages Group, and she was promoted to captain in 1973. She led the Navy's COBOL standardisation programme. In 1983 President Ronald Reagan promoted her to commodore, and in 1985 that rank became rear admiral (lower half) — one of the Navy's few female admirals.

On 14 August 1986, Hopper retired for the last time, in a ceremony aboard USS Constitution in Boston Harbor. She was seventy-nine years old — the oldest active-duty commissioned officer in the United States Navy — and she received the Defense Distinguished Service Medal. She had served, in one form or another, for forty-three years. But retirement did not slow her down: she became a consultant to the Digital Equipment Corporation, lecturing around the world and handing out nanoseconds.

Amazing Grace — The Legacy of Grace Hopper

Grace Hopper died on 1 January 1992, at the age of eighty-five, and was buried with full military honours at Arlington National Cemetery. She received forty honorary degrees in her lifetime, and the National Medal of Technology in 1991. On 22 November 2016, President Barack Obama posthumously awarded her the Presidential Medal of Freedom, the nation's highest civilian honour, for inventing the first compiler. The Navy named an Arleigh Burke-class guided-missile destroyer for her — USS Hopper (DDG-70), launched in 1996, nicknamed "Amazing Grace." A Yale college was renamed Grace Hopper College in her honour.

Hopper was rejected by the Navy for being too old and too small. She was told computers could only do arithmetic and could never understand English. She answered every no with a working machine, a running program, and a piece of wire you could hold in your hand. Every time a programmer writes a line of code in words a human can read, Grace Hopper's idea is still running.

Sources: Wikipedia, Naval Engineers (navalengineers.org), Vassar Encyclopedia, The Register, White House (Presidential Medal of Freedom citation, 22 Nov 2016).

Post a Comment

0 Comments