Ken Thompson and the Spare Computer That Became Unix
In 1969 Ken Thompson had a space game he liked and a computer he could hardly afford to play it on. He found a smaller machine at Bell Labs and got his friend Dennis Ritchie to help him fly the ship again.
The two programmers learned that machine inside out, and Thompson started building Unix on it. He'd go on to share a Turing Award with Ritchie, win a world chess title with engineer Joe Condon and help invent the language Go.
Ken Thompson at a Glance
- Born in New Orleans in 1943, Thompson earned two electrical engineering degrees at Berkeley and joined Bell Labs in 1966.
- With Dennis Ritchie and colleagues, he built Unix, the operating system that earned the pair the 1983 Turing Award.
- Thompson and engineer Joe Condon built Belle, the machine that won the World Computer Chess Championship in 1980.
- He worked on the Plan 9 operating system, then teamed up with Rob Pike and Robert Griesemer at Google to design the programming language Go.
The Life of Ken Thompson
From Berkeley to Bell Labs
Thompson was born in New Orleans in 1943. His father served in the Navy, so the family moved often, sometimes overseas.
When the Computer History Museum interviewed him, he recalled throwing himself into a series of hobbies as the family moved from place to place.
Thompson arrived at the University of California, Berkeley, to study electrical engineering. He finished his bachelor's degree in 1965, stayed for a master's and went straight from graduate school to Bell Labs in New Jersey the following year.
His first big assignment had about as much institutional backing as a young engineer could ask for. Bell Labs, MIT and General Electric were building Multics, a system that would let many people use one powerful computer at once.
Thompson took to working at a terminal. You could try an idea, see what happened and try another, all while the person at the next desk worked on something else.
In 1969 Bell Labs pulled out. Thompson had lost a project, but what he and his colleagues really missed was having a place to work together at a keyboard.
A game in search of a home
One particularly good reason to find another computer was Space Travel. Thompson had written a game in which a player steered a little ship through the solar system and tried to land it.
He'd moved it onto a big General Electric computer, where the controls were awkward and each run added to the bill. A little-used PDP-7 at the labs had a display and a considerable advantage when it came to the price of another landing.
Thompson and Ritchie taught themselves to draw planets and move the ship on their new machine. In his Computer History Museum interview, Thompson recalled the loss of Multics and the work that followed on the PDP-7.
By then Thompson had also been thinking about how a computer should keep track of files. He wrote a working version for the PDP-7 and built the tools he needed around it, including a way to type commands and an editor for changing his programs.
Other people at the labs began to use what he'd made. Ritchie worked alongside him, and colleagues contributed programs of their own.
The system acquired the name Unix, a little joke at the expense of the much grander Multics.
How the patent typists got involved
Getting management to pay for a better computer took more than pointing out how much fun the programmers were having. The group proposed a machine that could help the patent department prepare documents.
The typists got a way to lay out applications and print unusual symbols. Thompson and his friends got a PDP-11 on which they could improve Unix, with an office full of people who had good reason to tell them when it wasn't working.
- Finally understand what the commands you type are doing behind the scenes.
- Fix problems yourself instead of pasting in fixes you found online and hoping.
- Go from following tutorials to knowing why they work, one clear chapter at a time.
Thompson also designed a programming language called B. Ritchie developed it into C, and by 1973 the group could write much of Unix in a form that other programmers could read and adapt to different machines.
When Thompson went back to Berkeley as a visiting professor in 1975, Unix went with him. Students who wanted to improve the system could get their hands on it, much as his friends had in New Jersey.
Belle Takes On the Chess World
At Bell Labs, giving Thompson a game rarely ended with him playing a few rounds and getting on with his day. Chess drew him into a long partnership with Joe Condon, an engineer who could build the hardware for a very particular opponent.
Their machine, Belle, had circuits to work out which moves were legal and examine more possibilities than a general-purpose computer could manage in the same time. Thompson wrote the chess software, while Condon brought the designs to life in hardware.
In 1980 Belle won the World Computer Chess Championship. Ritchie kept an account of the games his colleagues made, down to the machine that wired up Belle's circuits and later helped other researchers build equipment for physics experiments.
Thompson played another game with the end of a chess match. He had a computer start with the last few pieces on the board and work backward from checkmate, recording which earlier positions could force a win.
Even a first-rate human player might disagree with a move on those lists. The computer could play the whole ending out, which gave Thompson a particularly satisfying way to settle the argument.
What Thompson Did After Unix
In 1983 Thompson and Ritchie shared the Turing Award. For his prize lecture, Thompson asked his fellow programmers how they knew they could trust the tools that turned the code they wrote into the program a computer actually ran.
He kept trying out answers to old questions. With his colleagues at Bell Labs he worked on Plan 9, a new operating system that gave them a chance to reconsider decisions they'd made with Unix.
The lab's timeline records his retirement in 2000.
- Start tonight: the board, case, power supply and memory card are all in the box.
- Run a home lab, an ad blocker or a practice server on one small computer.
- Learn Linux hands-on without risking your main machine.
His retirement from programming didn't take. At Google he joined Rob Pike and Robert Griesemer to design Go, a language for people who were spending too much time waiting for large programs to build.
The three made Go public in 2009. Ten years later the Go team could point to Docker and Kubernetes, tools used to run software across whole fleets of computers.
For a more personal measure of Thompson's range, there's Ritchie's list of his old games. Alongside the championship machine was a blackjack game Thompson wrote for his son.
That one had exactly the audience its programmer wanted.
Steve Bourne: The Man Who Turned a Command Prompt Into a Language

Dennis Ritchie, the Bell Labs Programmer Who Gave Us C

Linus Torvalds: The Hobby Project That Ended Up Running the World

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

