The Pragmatic Engineer

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


Listen Later

Brought to You By:

•⁠ Statsig ⁠ — ⁠ The unified platform for flags, analytics, experiments, and more. Companies like Graphite, Notion, and Brex rely on Statsig to measure the impact of the pace they ship. Get a 30-day enterprise trial here.

•⁠ Linear – The system for modern product development. Linear is a heavy user of Swift: they just redesigned their native iOS app using their own take on Apple’s Liquid Glass design language. The new app is about speed and performance – just like Linear is. Check it out.

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:

•⁠ AI Engineering in the real world

The AI Engineering stack

Uber's crazy YOLO app rewrite, from the front seat

Python, Go, Rust, TypeScript and AI with Armin Ronacher

Microsoft’s developer tools roots

Production and marketing by ⁠⁠⁠⁠⁠⁠⁠⁠https://penname.co/⁠⁠⁠⁠⁠⁠⁠⁠. For inquiries about sponsoring the podcast, email [email protected].



Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe
...more
View all episodesView all episodes
Download on the App Store

The Pragmatic EngineerBy Gergely Orosz

  • 5
  • 5
  • 5
  • 5
  • 5

5

59 ratings


More shows like The Pragmatic Engineer

View all
Software Engineering Radio by se-radio@computer.org

Software Engineering Radio

273 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

290 Listeners

a16z Podcast by Andreessen Horowitz

a16z Podcast

1,094 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

627 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

288 Listeners

Thoughtworks Technology Podcast by Thoughtworks

Thoughtworks Technology Podcast

42 Listeners

Data Engineering Podcast by Tobias Macey

Data Engineering Podcast

144 Listeners

Y Combinator Startup Podcast by Y Combinator

Y Combinator Startup Podcast

230 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

984 Listeners

REWORK by 37signals

REWORK

208 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

189 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

63 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

500 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

60 Listeners

Latent Space: The AI Engineer Podcast by swyx + Alessio

Latent Space: The AI Engineer Podcast

94 Listeners