podqast
The Pragmatic EngineerGergely OroszAll episodes

From Swift to Mojo and high-performance AI Engineering with Chris Lattner

1h 32m
Next episodeNetflix’s Engineering Culture60 min
Get its new episodes on Latest. No account

Brought to You By:

—
Chris Lattner is one of the most influential engineers of the past two decades. He created the LLVM compiler infrastructure and the Swift programming language – and Swift opened iOS development to a broader group of engineers. With Mojo, he’s now aiming to do the same for AI, by lowering the barrier to programming AI applications.
I sat down with Chris in San Francisco, to talk language design, lessons on designing Swift and Mojo, and – of course! – compilers. It’s hard to find someone who is as enthusiastic and knowledgeable about compilers as Chris is!
We also discussed why experts often resist change even when current tools slow them down, what he learned about AI and hardware from his time across both large and small engineering teams, and why compiler engineering remains one of the best ways to understand how software really works.
—
Timestamps
(00:00) Intro
(02:35) Compilers in the early 2000s
(04:48) Why Chris built LLVM
(08:24) GCC vs. LLVM
(09:47) LLVM at Apple
(19:25) How Chris got support to go open source at Apple
(20:28) The story of Swift
(24:32) The process for designing a language
(31:00) Learnings from launching Swift
(35:48) Swift Playgrounds: making coding accessible
(40:23) What Swift solved and the technical debt it created
(47:28) AI learnings from Google and Tesla
(51:23) SiFive: learning about hardware engineering
(52:24) Mojo’s origin story
(57:15) Modular’s bet on a two-level stack
(1:01:49) Compiler shortcomings
(1:09:11) Getting started with Mojo
(1:15:44) How big is Modular, as a company?
(1:19:00) AI coding tools the Modular team uses
(1:22:59) What kind of software engineers Modular hires
(1:25:22) A programming language for LLMs? No thanks
(1:29:06) Why you should study and understand compilers
—
The Pragmatic Engineer deepdives relevant for this episode:

—
Production and marketing by ⁠⁠⁠⁠⁠⁠⁠⁠https://penname.co/⁠⁠⁠⁠⁠⁠⁠⁠. For inquiries about sponsoring the podcast, email podcast@pragmaticengineer.com.

Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe

Episode page ↗
Also about technology and AI
Every episode about Technology & AI
More from The Pragmatic Engineer