Donald Knuth reflects on a lifetime of programming, beauty in algorithms, free will in the Game of Life, and the meaning of life.

Donald Knuth — Legendary computer scientist, Turing Award winner, father of algorithm analysis, author of The Art of Computer Programming, and creator of the TeX typesetting system.
In his second appearance on the podcast, Donald Knuth tells Lex Fridman the story of his first program written in 1957 decimal machine language on an IBM 650, including a tic-tac-toe program that learned to play. The conversation ranges across what makes a program beautiful, literate programming, premature optimization, and the limits of automation and AI. Knuth shares memories of John Conway and the surreal-numbers week, the Knuth-Morris-Pratt algorithm, and the hardest problem he ever solved: the birth of the giant component in random graphs. He closes with personal reflections on his 60-year marriage, Feynman, productivity, and his belief in something beyond human understanding.
Books, products and media the guest or host genuinely endorsed here — with the buy link.
Affiliate link — we may earn a commission at no extra cost to you.
Donald Knuth
“father of algorithm analysis author of the art of computer programming creator of tech that led to late tech” — Lex Fridman 00:00:00Find it on Amazon
Donald Knuth
“i changed the name to surreal numbers that so this book is now published as surreal number” — guest 01:04:56Find it on Amazon
Matt Pharr
“they should also look up this book by called physically based rendering by matt farr and anyway it got an academy award” — guest 01:00:00Find it on Amazon
Donald Knuth
“you created the tech type setting system and released it as open source just on that little aspect” — Lex Fridman 01:29:14Find it on Amazon
Andrew Trevorrow and Tomas Rokicki (inferred)
“the website called golly g-o-l-l-y it simulates the cellular automata like game of life yeah you got you got to check it out yeah” — guest 00:59:39Find it on Amazon
Nikoli (inferred)
“do you know the game called masu it's a great recreation i mean sudoku is easier to understand but matthew is more addictive” — guest 02:00:09Find it on Amazon
Canonical (inferred)
“i trust my family jewels only to linux why do you love linux the version of linux that i use is stable” — guest 01:55:31Find it on Amazon
Adobe
“photoshop has value which so it's definitely worth paying paying for all the stuff” — guest 01:54:26Find it on Amazon