Skip to content
Lex Fridman PodcastLex Fridman Podcast

Chris Lattner: The Future of Computing and Programming Languages | Lex Fridman Podcast #131

Chris Lattner is a world-class software & hardware engineer, leading projects at Apple, Tesla, Google, and SiFive. Please support this podcast by checking out our sponsors: - Blinkist: https://blinkist.com/lex and use code LEX to get a free week of premium - Neuro: https://www.getneuro.com and use code LEX to get 15% off - MasterClass: https://masterclass.com/lex to get 15% off annual sub - Cash App: https://cash.app/ and use code LexPodcast to get $10 EPISODE LINKS: Chris's Twitter: https://twitter.com/clattner_llvm Chris's Website: http://nondot.org/sabre/ 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 2:25 - Working with Elon Musk, Steve Jobs, Jeff Dean 7:55 - Why do programming languages matter? 13:55 - Python vs Swift 24:48 - Design decisions 30:06 - Types 33:54 - Programming languages are a bicycle for the mind 36:26 - Picking what language to learn 42:25 - Most beautiful feature of a programming language 51:50 - Walrus operator 1:01:16 - LLVM 1:06:28 - MLIR compiler framework 1:10:35 - SiFive semiconductor design 1:23:09 - Moore's Law 1:26:22 - Parallelization 1:30:50 - Swift concurrency manifesto 1:41:39 - Running a neural network fast 1:47:16 - Is the universe a quantum computer? 1:52:57 - Effects of the pandemic on society 2:10:09 - GPT-3 2:14:28 - Software 2.0 2:27:54 - Advice for young people 2:32:37 - Meaning of life CONNECT: - Subscribe to this YouTube channel - Twitter: https://twitter.com/lexfridman - LinkedIn: https://www.linkedin.com/in/lexfridman - Facebook: https://www.facebook.com/LexFridmanPage - Instagram: https://www.instagram.com/lexfridman - Medium: https://medium.com/@lexfridman - Support on Patreon: https://www.patreon.com/lexfridman

Lex FridmanhostChris Lattnerguest
Oct 18, 20202h 42mWatch on YouTube ↗

At a glance

WHAT IT’S REALLY ABOUT

Chris Lattner on future chips, Swift, and human-centered computing design

  1. Chris Lattner and Lex Fridman discuss leadership lessons from figures like Steve Jobs, Elon Musk, and Jeff Dean, emphasizing technical depth, vision, and humility. They dive deeply into programming language design, using Swift, Python, and Lisp to explore trade-offs in safety, performance, usability, and community-driven evolution. Lattner explains his work on LLVM, MLIR, RISC‑V, and SiFive, outlining how better compiler and silicon tooling could unleash a wave of specialized chips and new computation models. The conversation widens to machine learning paradigms, GPT‑3, Software 2.0, concurrency, and broader themes of human motivation, societal upheaval, and long‑term optimism about technology and humanity.

IDEAS WORTH REMEMBERING

5 ideas

Deep technical competence is essential for effective technical leadership.

Lattner argues that leaders like Jobs, Musk, and Dean succeed because they truly understand the product, tech, and mission, which lets them push hard, prioritize correctly, and earn engineers’ trust.

Programming languages are user interfaces for human minds, not just machines.

He frames language design as UI/UX design: syntax, defaults, and tools should minimize boilerplate and bugs while maximizing clarity and joy, with Swift’s ‘progressive disclosure of complexity’ as a core example.

Value semantics can dramatically reduce bugs and improve performance.

Swift’s default to value semantics (plus copy‑on‑write) avoids many aliasing and mutation bugs common in Python/Java‑style reference semantics, while still enabling efficient in‑place updates under the hood.

Great languages empower great libraries rather than hard‑coding special cases.

Lattner sees it as “beautiful” when built‑ins like `int` and arrays are just library types; giving users the same expressive power as the standard library enables domain experts to build native‑feeling abstractions.

Better compiler infrastructure can unlock a new wave of custom hardware.

With MLIR and RISC‑V, Lattner expects easier, cheaper ASIC and accelerator development, making domain‑specific chips (for ML, IoT, etc.) far more common and reducing reliance on one-size-fits-all CPUs.

WORDS WORTH SAVING

5 quotes

A programming language is a bicycle for the mind.

Chris Lattner

So much of language design is about trade‑offs, and you can't see those trade‑offs unless you have a community of people that really represent those different points.

Chris Lattner

A major part of leadership is actually, it's not about having the right answer, it's about getting the right answer.

Chris Lattner

If you don't model at least the most important inherent complexity in the language, that complexity gets pushed elsewhere, and often you just get kind of a mess.

Chris Lattner

Real value comes from doing things that are hard.

Chris Lattner

Leadership styles of Steve Jobs, Elon Musk, and Jeff DeanPrinciples of programming language design and Swift’s philosophyType systems, value vs reference semantics, and developer productivityLLVM, MLIR, and the future of compilers and hardware specializationRISC‑V, SiFive, and democratizing custom chip designConcurrency, actors, and safer parallel programming models in SwiftMachine learning paradigms, Software 2.0, GPT‑3, and program synthesisSocietal change, remote work, and personal meaning in technical careers

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