๐ฅ Explore this awesome post from Hacker News ๐
๐ Category:
๐ Main takeaway:
The 82-year-old Ken Thompson has some amazing memories about the earliest days of the Unix operating system โ and the rowdy room full of geeks who built it.
This month Silicon Valleyโs Computer History Museum released a special four-and-a-half-hour oral history, in partnership with the Association for Computing Machinery, recorded 18 months ago by technology historian David C. Brock. And Thompson dutifully recalled many of his career highlights โ from his work on the C programming language and Unix to the โPlan 9 from Bell Labsโ operating system and the Go programming language.
But what comes through is his gratefulness for the people heโd worked with, and the opportunity theyโd had to all experiment together in an open environment to explore the limits of new and emerging technologies. Itโs a tale of curiosity, a playful sense of serendipity and the enduring value of a community.
And along the way, Thompson also tells the story of raising a baby alligator that a friend sent to his office at Bell Labs. (โIt just showed up in the mailโฆ Theyโre not the sweetest of pets.โ)
The Accidental Birth of Unix
Travel back in time to 1966, when 23-year-old Thompsonโs first project at Bell Labs was the ill-fated Multics, a collaboration with MIT and General Electric which Thompson remembers as โhorribleโฆ big and slow and ugly and very expensive,โ requiring a giant specially-built computer just to run and โjust destined to be dead before it started.โ
But when the Multics project died, โthe computer became completely available โ this one-of-a-kind monster computerโฆ and so I took advantage.โ
Thompson had wanted to work with CRAM, a data storage device with a high-speed drum memory, but like disk storage of the time, it was slow to read from memory.
A magnetic โdrum memoryโ data storage device
Thompson thought heโd improve the situation with simultaneous (and overlapping) memory reads, but of course this required programs for testing, plus a way to load and run them.
โAnd suddenly, without knowing it โ I mean, this is sneaking up on meโฆ. Suddenly itโs an operating system!โ Thompsonโs initial memory-reading work became โthe disk partโ for Unixโs filesystem. He still needed a text editor and a user-switching multiplexing layer (plus a compiler and an assembler for programs), but it already had a filesystem, a disk driver and I/O peripherals.
Thompson wondered if it took so long to recognize its potential because heโd been specifically told not to work on operating systems. Multics โwas a bad experienceโ for Bell Labs, heโd been told. โWe spent a ton of money on it, and we got nothing out of it!โ
โI actually got reprimands saying, โDonโt work on operating systems. Bell Labs is out of operating systems!โ
One-Digit User IDs
But now Unix had its first user community โ future legends like Dennis Ritchie, Doug McIlroy, Robert Morris and occasionally Brian Kernighan. (โAll the user IDs were one digit. That definitely put a limit on it.โ) Thompson remembers designing the Unix filesystem on a blackboard in an office with Rudd Canaday โ using a special Bell Labs phone number that took dictation and delivered a typed-up transcript the next day. And Joe Ossanna โgot things doneโ with a special talent for navigating Bell Labsโ bureaucracy that ultimately procured a crucial PDP-11 for the Unix team to work on.
โWe were being told no, โbecause we donโt deal in operating systems.’โ But Ossanna knew the patent department was evaluating a third-party system for preparing documents โ and Ossanna proposed an in-house alternative. โSo we got our first PDP-11 to do word processing.โ
Ken Thompson (sitting) and Dennis Ritchie at PDP-11
And history shows that it happened partly because the department paying for it โhad extra money, and if they didnโt spend it, theyโd lose it the next yearโฆโ
So the young Unix community picked up somewhere between five and eight new users, Thompson remembers, โthe secretaries for the Patent Department, writing patents on our system!โ
The Fellowship of the Unix Room
That PDP-11 wound up in โa spot on the sixth floor where we cleaned out a vending machine and a couple of cages of stored junk from 1920,โ Thompson remembered. They eventually installed a second PDP-11, which turned the room into โa hotbed of things,โ with discussions about networking โ and an upcoming typesetter for documents. Thompson calls it the Unix room, and most of them eventually had extensions for their phones wired into the room. (It even had its own call-switching PBX โฆ)
There was camaraderie and some laughter. He adds later, almost as an aside, that โin the Unix room, we used to pick locks a lot and steal things.โ (When one of the secretaries discovered security had affixed a โparking bootโ to her car that was parked in the wrong zone, โwe went down there, and we picked the lock and stole the boot. And after that, slowly, we picked up all four boots, and we hid them under the raised floor of the Unix roomโฆโ)
The punchline? โThe head of security came around and pleaded with us. โWe wonโt pick on your secretaries if you give us back our boots.’โ
And the deal was accepted.
Dennis Ritchie (left) later said their motivation was to build a system โaround which a fellowship could form,โ but Thompson says thatโs more of a description of what transpired than an actual design goal.
Thompson remembers things like gathering for a regular โUnix lunchโ in the Bell Labs lunchroom, which โcaused a symbiosis of thought and things. It was great.โ Although it always seemed to happen just minutes after the lunchroom stopped serving food. โIf I was late, Iโd buy McDonaldโs and sit down at the lunchroom with my McDonaldโs. They used to get mad at me for that โฆโ
Growing From Community
Looking back, Thompson credited the success of C and Unix to Bell Labs and its no-pressure/no users environment. โIt was essentially a โwhatever you want to doโ atmosphere, and โfor anybody you wanted to do it forโโฆ Bell Labs was by far the biggest contributor to this whole type of programming.โ
Bell Labs was an eclectic mix, but this community paid unexpected dividends. While Lee McMahon was originally hired as a linguistics researcher, he was ultimately the one who procured machine-readable dictionaries for the Unix team, along with machine-readable version of the Federalist Papers. (When the whole text wouldnโt fit into their text editor ed, Thompson famously created the line-by-line pattern-scanning tool grep.)
And in the end Thompson says Unix grew from there for one simple fact: People liked it. It spread within Bell Labs, at first for โthe administrative kind of stuff, typing in trouble ticketsโฆโ But this being a phone company, โthen it started actually doing some switching, and stuff like that. It was getting deeper and deeper into the guts of the Bell System and becoming very popular.โ
Open Before Open Source
Thompson credits Richard Stallman with developing much more of the open source philosophy. โBut Unix had a bit of that.โ Maybe it grew out of what Dennis Ritchie was remembering, that fellowship that formed around Unix. โFor some reason, and I think itโs just because of me and Dennis, everything was openโฆโ
It was just the way they operated. โWe had protection on files โ if you didnโt want somebody to read it, you could set some bits and then nobody could read them, right? But nobody set those permissions on anything โฆ All of the source was writable, by anybody! It was just open โฆ
โIf you had an idea for an editor, youโd pull the editor out and youโd write on it and put it back โฆ There was a mantra going around that, โYou touch it, you own it.’โ
Thompson provides an example: Bell Labs co-worker P. J. Plauger, with whom he later wrote the 1974 book โElements of Programming Style.โ Plauger was also a professional science fiction writer, Thompson remembers, โAnd whatever he was writing on was in his directory, right? So, weโd all go in there and be reading it as heโs writing it โฆ and weโd all write back, โYou ought to kill this guy, and move him over here and turn him green!โ or something.
โAnd he didnโt mind it, because thatโs just the theory of Unix in those days โฆ
โI think that generated a fellowship. Just the fact that it was like writing on a blackboard โ everybody read it.โ
And more of their Bell Labs experiments found their way into the world when some work on the later Plan 9 operating system found its way into the UTF-8 standard, which underlies most of todayโs web connections.
After Bell Labs
Thompson left Bell Labs in 2000, after the breakup of the Bell system. (โIt had changed; it was really different โฆ You had to justify what you were doing, which is way above my pay grade.โ) But his three decades there seemed to shine an influence over the rest of his life.
Thompson first moved on to a networking equipment company called Entrisphere, where he worked for six years โ and a move to Google was the natural next step. The head at Entrisphere had already moved to Google, and was urging Thompson to follow him โ and it turned out that Google CEO Eric Schmidt was an old friend whoโs actually worked at Bell Labs in 1975. (Thompson says Google made him โan exceedingly good offerโโฆ)
At Google Thompson worked โa little bitโ on Android security. (โI found a couple of specific problems, but by and large, it was very well doneโ.) But eventually Thompson joined the three-person team that would create the programming language Go.
And he was doing the work with Rob Pike, who was one of his old comrades from Bell Labs nearly 30 years before!
YOUTUBE.COM/THENEWSTACK
Tech moves fast, don’t miss an episode. Subscribe to our YouTube
channel to stream all our podcasts, interviews, demos, and more.
Tell us your thoughts in comments! Tell us your thoughts in comments!
#๏ธโฃ #Ken #Thompson #Recalls #Unixs #Rowdy #LockPicking #Origins
๐ Posted on 1761549344
