Home Lex Fridman Episode
Lex Fridman · 2025-03-22

ThePrimeagen: Programming, AI, ADHD, Productivity, Addiction, and God | Lex Fridman Podcast #461

Legendary programmer ThePrimeagen talks coding craft, AI's limits, beating addiction, ADHD, productivity, and finding God with Lex Fridman.

ThePrimeagen: Programming, AI, ADHD, Productivity, Addiction, and God | Lex Fridman Podcast #461
The guest

Michael Paulson (ThePrimeagen): A programmer and popular streamer who spent roughly 10 years at Netflix building developer tools and TV infrastructure before going full-time as a content creator. He inspires millions to have fun building software and is known for Neovim advocacy, the Harpoon plugin, and a roller-coaster life story.

What this episode covers

ThePrimeagen and Lex Fridman cover a sweeping range of topics across five hours, beginning with the joy and pain of programming and Prime's deeply personal life journey through early porn exposure, his father's death at age 7, drug addiction, a suicide attempt, and a transformative night he describes as finding God. They dig into his technical career at Netflix, including the Falcor 'Repulsive Grizzly' DOS vulnerability he discovered, the realities of large-company engineering, and his pivot to full-time streaming. A long section explores programming languages (Go, Rust, Zig, JavaScript), Neovim and Vim motions, his single-monitor keyboard-driven setup, and the Kinesis keyboard. They debate AI's role in software, where it helps and fails, the future of programmers, and close on ADHD, productivity, love, forgiveness, and faith.

Recommended on this episode

ProductRecommended

Kinesis Advantage

Kinesis

“my favorite keyboard”
“keyboard. You're using my favorite keyboard right there. The Kinesis advantage. Uh, save my career. Beautiful keyboard.”— Lex Fridman

The guest's own work

ProductBy the guest

Terminal Coffee

Terminal (ThePrimeagen, TJ DeVries et al.)

“you can only SSH into it... It's all really like it's pretty high-end coffee. It tastes really really good.”— ThePrimeagen

Also referenced (named, not recommended)

BookReferencedISBN verified

The Wheel of Time

Robert Jordan

“Have you ever read the book uh Wheel of Time? It's 14,000 pages or something like that, but right around page 12,000, Rand has to intentionally kill a girl”— ThePrimeagen
BookReferencedISBN verified

The Lord of the Rings

J.R.R. Tolkien

“I'd eat dinner with the kiddos. I would read them Lord of the Rings and The Hobbit. During that time, I'd read to them for a half an hour.”— ThePrimeagen
BookReferencedISBN verified

The Hobbit

J.R.R. Tolkien

“I would read them Lord of the Rings and The Hobbit. During that time, I'd read to them for a half an hour.”— ThePrimeagen
ProductReferenced

Cursor

Anysphere

“cursor is doing a lot of really fascinating stuff on the IDE side, not just sort of generate code and uh like edit that code manually.”— Lex Fridman
ProductReferenced

GitHub Copilot

GitHub

“I remember the first time I used it, I got early access to GitHub Copilot. Nat... he sent me early access himself.”— ThePrimeagen
ProductReferenced

Devin

Cognition

“Devon is just it's it's kind of like the full it's like the full package when it comes to programming. So it's going to have you're going to give it a task and a repo”— ThePrimeagen
MediaReferenced

The Social Network

David Fincher

“I watched the social network movie. And after that, I was just like, I'm doing a startup. And so like that night, I started my first startup”— ThePrimeagen
MediaReferenced

Black Mirror

Charlie Brooker

“Netflix um are you familiar with uh the dystopian Black Mirror... Season 1 episode one. Do you know season 1 episode one?”— ThePrimeagen
MediaReferenced

Turok 2: Seed of Evil

Iguana Entertainment

“Turok 2 was a brutally hard game... It was a badass game, right? And I got it and I put it in and I played every day for like 10 hours a day”— ThePrimeagen
MediaReferenced

Yellowstone

Taylor Sheridan

“I have an admiration a romantic admiration for like uh for the shows like Yellowstone being out in nature. It's beautiful.”— Lex Fridman
MediaReferenced

Skyrim

Bethesda Game Studios

“That's why I play Skyrim. I can play these games uh or Balders's Gate and moderate my how much I play”— ThePrimeagen
MediaReferenced

Baldur's Gate

Larian Studios

“That's why I play Skyrim. I can play these games uh or Balders's Gate and moderate my how much I play”— ThePrimeagen
MediaReferenced

Civilization

Sid Meier

“I'm terrified of Civilization. Like uh I have never played a Siv game because I'm worried... And the new one is actually supposed to be really, really good.”— ThePrimeagen
MediaReferenced

Love Is Blind

Netflix

“My wife has recently convinced me to watch Love is Blind with her one time... it's just feels like just a disaster of an experiment”— ThePrimeagen

Big reveals from this episode

  • Prime discovered the Falcor security vulnerability ('Repulsive Grizzly Attack') where a single crafted request could take down a Netflix machine by creating billions of JVM objects, and it had been in production for years with no easy rollback.
  • He recounts taking so much acid that for years he had visual squiggles in his peripheral vision when passing high-contrast objects, during a period marked by LSD, mushrooms, and meth use.
  • At around 19 he describes a single night feeling 'the very dramatic and real presence of God,' after which he suddenly developed a conscience and felt deep shame, which forced him to change his life.
  • Reversing the season order of a single Black Mirror episode at Netflix required him to gather and coordinate about 20 engineers across multiple teams, illustrating how no feature is small at big-company scale.
  • His favorite stream project: porting Doom ASCII to the browser and letting 1,000-1,400 Twitch chat members collectively control it via averaged inputs, using custom compression to shrink gigabytes of data down to kilobytes.
  • He co-founded Terminal Coffee Company, where the only way to order coffee is by running 'ssh terminal.shop' in your terminal, with payment handled through Stripe.
  • Prime reveals he attempted suicide as he was graduating high school, was hospitalized, and credits coming out of that with breaking something in him that led to years of heavy drug use.

Worth remembering

  • Prime says he was first exposed to pornography at age four or five and thought about porn daily until his early 20s, calling it by far the hardest addiction he ever quit.
  • His first startup was a 2010 text-message marketing product sold with only a flip phone, echoing his father's early-90s prepaid long-distance phone-card startup, both about half a decade too early.
  • On his first day on the Netflix TV team, his boss handed him a PlayStation 3 and told him to learn the code and come back in a couple days, since Netflix ran on devices like the PS3.
  • The middle layer at Netflix was written in Apache Groovy, which Prime says almost no one among the ~40 engineers actually understood; he learned it by reading the language reference for a day.
  • The 'Primeagen' name comes from the final boss of the brutally difficult Nintendo 64 game Turok 2: Seed of Evil, which he beat playing ~10 hours a day for a month.
  • In 2017, suffering arm pain while having his second kid, Prime created his own custom Dvorak-based keyboard layout placing symbols symmetrically and requiring shift to type numbers.
  • He pitted Claude 3.5 against OpenAI playing a Zig tower-defense game he built, observing that Claude did better during daytime and OpenAI did better at night for unknown reasons.
  • Prime once crafted a Stack Overflow question titled 'how to measure your dict's' full of innuendo; the team deleted it but emailed him complimenting how thoughtful it was before warning him not to do it again.
  • He notes that benchmark tests showing Zig fastest were misleading because Zig, C, and C++ all use LLVM backends, and speed differences usually just mean code wasn't expressed correctly.
  • Prime programs while sitting and bouncing on a yoga ball, with no back support, to force himself to maintain good posture for hours.