Skip to content
Lex Fridman PodcastLex Fridman Podcast

John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309

John Carmack is a legendary programmer, co-founder of id Software, and lead programmer of many revolutionary video games including Wolfenstein 3D, Doom, Quake, and the Commander Keen series. He is also the founder of Armadillo Aerospace, and for many years the CTO of Oculus VR. Please support this podcast by checking out our sponsors: - InsideTracker: https://insidetracker.com/lex to get 20% off - Indeed: https://indeed.com/lex to get $75 credit - Blinkist: https://blinkist.com/lex and use code LEX to get 25% off premium - Eight Sleep: https://www.eightsleep.com/lex and use code LEX to get special savings - Athletic Greens: https://athleticgreens.com/lex and use code LEX to get 1 month of fish oil EPISODE LINKS: John's Twitter: https://twitter.com/ID_AA_Carmack Books mentioned: Hackers: Heroes of the Computer Revolution: https://amzn.to/3SkNZER Game Engine Black Book Wolfenstein 3D: https://amzn.to/3QlOqg8 PODCAST INFO: Podcast website: https://lexfridman.com/podcast Apple Podcasts: https://apple.co/2lwqZIr Spotify: https://spoti.fi/2nEwCF8 RSS: https://lexfridman.com/feed/podcast/ Full episodes playlist: https://www.youtube.com/playlist?list=PLrAXtmErZgOdP_8GztsuKi9nrraNbKKp4 Clips playlist: https://www.youtube.com/playlist?list=PLrAXtmErZgOeciFP3CBCIEElOJeitOr41 OUTLINE: 0:00 - Introduction 1:57 - Programming languages 33:01 - Modern programming 43:03 - Day in the life 50:53 - Hard work 54:06 - Pizza and Diet Coke 56:50 - Setup 1:22:08 - id Software 1:54:58 - Commander Keen 2:01:44 - Hacker ethic 2:09:24 - Wolfenstein 3D 2:29:21 - Doom 2:43:42 - Quake 3:08:02 - John Romero 3:15:49 - Metaverse 3:44:11 - Elon Musk 3:50:06 - Mars 3:59:09 - Nuclear energy 4:02:47 - AGI 4:49:59 - Andrej Karpathy 4:52:57 - Martial arts 5:01:57 - Advice for young people 5:10:57 - Meaning of life SOCIAL: - Twitter: https://twitter.com/lexfridman - LinkedIn: https://www.linkedin.com/in/lexfridman - Facebook: https://www.facebook.com/lexfridman - Instagram: https://www.instagram.com/lexfridman - Medium: https://medium.com/@lexfridman - Reddit: https://reddit.com/r/lexfridman - Support on Patreon: https://www.patreon.com/lexfridman

John CarmackguestLex Fridmanhost
Aug 3, 20225h 14mWatch on YouTube ↗

At a glance

WHAT IT’S REALLY ABOUT

John Carmack on coding, games, VR, AGI, and working obsessively hard

  1. John Carmack traces his journey from a self-taught kid obsessed with early computers to co-founding id Software and pioneering 3D game engines for Wolfenstein 3D, Doom, and Quake. He explains the concrete technical hacks and constraints that shaped these breakthroughs, from tile-based scrolling to ray casting and BSP trees, and how game feel and user value mattered more than technical purity.
  2. He contrasts old-school, low-level optimization with today’s abundance of computing power, arguing that deep systems understanding still matters when you’re pushing true frontiers such as VR, rockets, and AGI. Carmack also discusses work habits, the value of long hours, debugging discipline, and the importance of focusing relentlessly on user value rather than cleverness for its own sake.
  3. In VR and the metaverse, he’s pragmatic: it will likely evolve gradually from specific, compelling applications—like Beat Saber or high‑quality remote meetings—rather than from top‑down, abstract platforms. Looking forward, he has now committed seriously to artificial general intelligence, betting that a relatively small amount of code and a handful of key ideas, built on today’s ML literature, could yield human‑level learning systems within about a decade.

IDEAS WORTH REMEMBERING

5 ideas

Technical breakthroughs often come from exploiting hardware constraints, not ignoring them.

Carmack’s scrolling tricks for Commander Keen, ray casting in Wolfenstein 3D, and BSP trees in Doom/Quake all arose from carefully studying limited 80s/90s hardware and finding non‑obvious angles (like reusing text‑scroll hardware or wrapping video memory) to get 5–10x speedups.

Deep understanding across the whole stack unlocks outsized leverage.

He argues that real frontier work—VR on mobile, rockets, AGI—requires knowing hardware, compilers, low‑level code, and high‑level design so you can reframe the problem, not just micro‑optimize within existing abstractions.

User value should trump elegance, cleverness, and purity in engineering decisions.

From game design to VR products, he pushes engineers to measure success by whether users get more value than the effort and cost put in, not by how sophisticated architectures or abstractions look internally.

Hard, sustained work really does compound skill and output—if you can tolerate it.

Carmack describes decades of 60‑hour weeks, emphasizes sleep but rejects the idea that 40 hours is always optimal, and views intense effort as both how mastery is built and how big, improbable goals are actually achieved.

Tooling and discipline—debuggers, static analyzers, asserts—are non‑optional for serious systems.

He’s adamant that relying on “read the code and think about it” is delusional at scale; systematic use of debuggers and analysis tools revealed many serious bugs even in id’s famously robust engines.

WORDS WORTH SAVING

5 quotes

You weren’t inside the game… Some reptile brain thing is just going, ‘Oh, shit, something just happened.’ And that was one of those early points where it’s like, ‘Yeah, this is gonna make a difference.’

John Carmack

Being a servant to the user is your job when you’re a developer. You want to be producing something that other people are gonna find valuable.

John Carmack

Working longer gets more done. If you want to accomplish something, working longer and harder is the path to getting it accomplished.

John Carmack

The best programming language is the one that works, generally the one you’re currently using.

John Carmack

I am seriously going for the AGI side of things… This is potentially one of the most important things humans ever do.

John Carmack

Early fascination with computers and self‑taught programmingGame engine innovations in Commander Keen, Wolfenstein 3D, Doom, and QuakeProgramming languages, tools, and the hacker ethic (C/C++, Lisp, Python, JavaScript, debuggers, static analysis)Work ethic, productivity, and the trade‑off between optimization and shippingOpen sourcing game engines and the modding/community ecosystemVR, the metaverse, and constraints of hardware, UX, and big‑company structureArtificial general intelligence: timelines, architectures, and safety/ethics stance

High quality AI-generated summary created from speaker-labeled transcript.

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.

Add to Chrome