Episode

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

Podcast
The Pragmatic Engineer
Published
Nov 5, 2025
Duration seconds
5524
Processing state
not_requested
Canonical source
https://newsletter.pragmaticengineer.com/p/from-swift-to-mojo-and-high-performance
Audio
https://api.substack.com/feed/podcast/177931485/7d4ebdae756b312025a1c7d32d1536ca.mp3
JSON
/v1/public/podcasts/the-pragmatic-engineer-7019833/episodes/from-swift-to-mojo-and-high-performance-ai-engineering-with-chris-lattner
Markdown
/podcast/the-pragmatic-engineer-7019833/from-swift-to-mojo-and-high-performance-ai-engineering-with-chris-lattner.md

Actions

  • POST https://stenobird.com/v1/public/podcasts/the-pragmatic-engineer-7019833/episodes/from-swift-to-mojo-and-high-performance-ai-engineering-with-chris-lattner/transcription-requests
    Idempotently request low-priority transcript generation for this episode.
  • GET https://stenobird.com/podcast/the-pragmatic-engineer-7019833/from-swift-to-mojo-and-high-performance-ai-engineering-with-chris-lattner.md
    Read the agent-friendly Markdown representation of this episode resource.

Summary

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 learni…