Skip to content

Brian Kernighan: Inside Bell Labs, The Best Programmer, Why C Won

The Peterman Pod

Hosted by Ryan Peterman

1h 28m
Transcript

Original podcast

Summary

Written by a model from the transcript; not yet reviewed.

This episode explores the legendary era of Bell Labs through the experiences of Brian Kernighan, co-author of the original C programming language and the man who popularized the Hello World program. The discussion traces how AT&T's regulated monopoly funded a stable, long-term research environment without deadlines, targets, or bureaucratic interference, allowing brilliant minds like Ken Thompson, Dennis Ritchie, and Dick Hamming to build foundational technologies like Unix and C. Kernighan shares stories about working alongside the best programmers in history, the culture of flat management, and the evolution of computing tools that emerged from solving daily annoyances rather than top-down product planning.

  • Embrace unexpected opportunities and say yes to new challenges, as serendipity and a prepared mind play a massive role in a career. 1:25:43
  • When communicating technical ideas to non-technical audiences, rely on clear metaphors, examples, and putting yourself in their shoes. 36:17
  • Build small internal tools when you encounter daily annoyances, rather than trying to hypothesize what a broad market might want. 46:41
  • Maintain domain expertise so you can properly validate and test code generated by large language models or other automated tools. 1:14:45

Chapters

  1. 0:00
    Introduction and Host Overview

    The host introduces Brian Kernighan and outlines the episode’s focus on Bell Labs and C.

  2. 0:49
    Bell Labs Origins and Mission

    Kernighan explains how Bell Labs was founded as AT&T’s research arm and its early focus on telephony and physics.

  3. 2:25
    Early Career and Internships

    He recounts his graduate studies, internships at MIT and Bell Labs, and the projects that led to his PhD.

  4. 8:53
    Recruiting Magnetism and Talent

    He discusses why top scientists and engineers were drawn to Bell Labs and how the lab’s reputation attracted brilliant minds.

  5. 18:00
    Legendary Projects and Unix Development

    He shares anecdotes about Ken Thompson, Unix’s rapid creation, and the culture that enabled such breakthroughs.

  6. 22:42
    Managing and Leadership at Bell Labs

    Kernighan reflects on his transition to management, the challenges of leading a research group, and the lab’s view on promotion.

  7. 39:47
    The C Language and Its Impact

    Kernighan explains why C was so influential, its design goals, and its relationship with Unix.

  8. 46:21
    Legacy Tools and Teaching

    He talks about the creation of AWK, grep, and other Unix tools, and his experience teaching CS courses at Harvard.

  9. 52:35
    Adjunct Teaching and Public Speaking Advice

    Brian discusses his experience teaching at Bell Labs and offers practical tips for students nervous about public speaking.

  10. 54:15
    Impact of Large Language Models on Education

    Exploration of how LLMs affect student engagement, office hours, and enrollment trends at Princeton.

  11. 1:03:52
    Motivation Behind Writing Technical Books

    Brian explains why he writes books—to communicate, learn, and influence a wider audience.

  12. 1:06:08
    Secrets Files and Early Cryptography Practices

    Discussion of old DES-encrypted password files and the historical context of security at Bell Labs.

Highlights

  • 0:18

    Zero Deadlines at Bell Labsinsight

    Bell Labs operated with no deadlines, projects, goals, or objectives set by external people, relying on an annual merit review where researchers simply listed their contributions.

  • 28:53

    Ken Thompson Built Unix in Three Weeksstory

    While his wife and son were away in California for three weeks, Ken Thompson used an obsolete PDP-7 machine to build an editor, assembler, and operating system all by himself.

  • 33:01

    Dick Hamming Got Clout Without Reportsstrategy

    Dick Hamming worked to secure the status and carpeted floor of a department head without actually having to manage any people, avoiding administrative work while maintaining institutional influence.

  • 39:24

    The CIA Director Demo Scriptstory

    When CIA Director William Colby visited for a Unix demonstration, the system ran too slowly, so a shell script was pre-recorded to sleep for two seconds and cat a pre-made file.

  • 40:03

    Why C Won the Sweet Spotinsight

    C succeeded because it offered a balance of efficiency and expressiveness on extremely wimpy early hardware, allowing direct translation to machine instructions while remaining simple.

  • 1:04:51

    The Fake Employee Gremlin Badgestory

    When Bell Labs instituted mandatory badge wearing, employees created a fake employee named Grace Emlen, a gremlin that sat in the Unix room with an official badge to protest bureaucracy.

  • 1:14:31

    LLM SQL Generation Error Ratedata

    When using large language models to generate SQL queries for database analysis without being an expert, the models generate correct queries 90 percent of the time and completely wrong answers 10 percent of the time.

  • 1:24:59

    Harvard CS50 Beard Trimming Demostory

    During his first lecture at Harvard for CS50, Brian Kernighan used a collection of tools ranging from scissors to electric hedge trimmers to demonstrate the difficulty of giving precise instructions to a computer.

Quotes

  • “In the summer of nineteen sixty-six, I was a grad student here at Princeton. But I got an internship at MIT in Cambridge, working in Project MAC, which was basically the Multics project.”
    Unnamed speaker · 2:25
  • “I think it hit a sweet spot in some sense of like efficiency and expressiveness.”
    Unnamed speaker · 40:03
  • “There was no immediate stop to that period. There were no deadlines, there were no projects, there were no objectives, goals, whatever set by other people.”
    Unnamed speaker · 16:46
  • “I think doing it, getting into an environment where you have to talk to people and. And at least small group to begin with, and then maybe bigger one is okay.”
    Unnamed speaker · 53:09
  • “One concrete example that I have heard reported by all kinds of people around here is that students don't come to office hours. They're presumably getting whatever it is from their favorite large language model.”
    Unnamed speaker · 54:42
  • “I find it fun. I think it goes back to something you asked about earlier. Trying to explain stuff to people who are not experts in it.”
    Unnamed speaker · 1:07:55
  • “I think the nature of what people do with them will change in the same way. We don't have people writing assembly language very much anymore.”
    Unnamed speaker · 1:17:20
  • “I think if I look at it, a lot of what I have done, you've seen a galton board. It's this thing where you drop a marble, there's, there's an array of nails.”
    Unnamed speaker · 1:26:31

About this episode

Brian Kernighan is a former Bell Labs member of technical staff, co-author of the original C book, and the one who popularized “Hello World.” We talked about what Bell Labs was like and the stories behind all the famous tools that were built there. • My ergonomic keyboard project I mentioned, you can follow along here: https://read.compose.llc/ • The Kickstarter page for it: https://www.kickstarter.com/projects/ryanlpeterman/compose-simple-ergonomics-beautifully-done Podcast links: • YouTube: https://www.youtube.com/watch?v=sMllOlxVgD0 • Apple: https://podcasts.apple.com/us/podcast/the-peterman-pod/id1777363835 • Transcript: https://www.developing.dev/p/e072-brian-kernighan Thank you to this episode's sponsor for supporting my work: • WorkOS: makes your app Enterprise Ready with easy to use APIs to add SSO, SCIM, RBAC, and more in just a few lines of code, check them out at https://workos.com/ Timestamps: (00:00) Intro (00:42) What Bell Labs was and how he got hired (06:34) Why so many inventions came from Bell Labs (14:15) A day in the life at Bell Labs (27:55) The most impressive people he worked with (33:50) The AT&T film explaining Unix (39:46) Why C was so influential (43:25) How awk was created (48:40) What he misses most about Bell Labs (54:10) Are LLMs bad for computer science education (01:01:46) His 1972 commit in the Go repo (01:03:43) Grace Emlen, the fake Bell Labs employee (01:07:39) Why he writes so many books (01:19:58) His favorite and least favorite languages (01:24:28) Advice for students and young people (01:27:42) Outro Where to find Brian: • Personal website: https://www.cs.princeton.edu/~bwk/ • Princeton University faculty profile: https://www.cs.princeton.edu/people/profile/bwk • Wikipedia: https://en.wikipedia.org/wiki/Brian_Kernighan Where to find Ryan: • Newsletter: https://www.developing.dev/ • X/Twitter: https://x.com/ryanlpeterman • LinkedIn: https://www.linkedin.com/in/ryanlpeterman/ • Threads: https://www.threads.com/@ryanlpeterman • Instagram: https://www.instagram.com/ryanlpeterman • TikTok: https://www.tiktok.com/@ryanlpeterman Referenced in this episode: • UNIX: Making Computers Easier to Use: https://www.youtube.com/watch?v=XvDZLjaCJuw • Brian Kernighan’s first Harvard CS50 lecture (1996): https://www.youtube.com/watch?v=6Ba1XFVy7qw • A Beautiful Mind: https://www.universalpicturesathome.com/movies/a-beautiful-mind • Shifts: Important Ideas in Computing: https://www.amazon.com/Shifts-Nine-Ideas-Revolutionized-Computing/dp/0262064294/ • Labscam (Penn & Teller at Bell Labs, 1989): https://www.nokia.com/bell-labs/about/dennis-m-ritchie/labscam.html • Labscam video: https://www.youtube.com/watch?v=qnsmDNamd2g • Understanding the Digital World (new edition): https://www.amazon.com/Understanding-Digital-World-Computers-Internet/dp/0691288879

Transcript

0:00
1:28:38

15,260 words · 2 speakers

Speaker names marked are inferred from speaking time and the show’s known hosts — they are not voice-verified.

Topics

  • Bell Labs
  • Go
  • Unix
  • Princeton
  • OC
  • Haskell
  • Large Language Models
  • Unicode
  • MIT
  • WorkOS

Page updated · transcript and summary are machine-generated