From Swift to Mojo and high-performance AI Engineering with Chris LattnerI sit down with Chris Lattner, creator of LLVM, Swift, and Mojo, to discuss how better language and compiler design can open the door to faster, more accessible AI development.Stream the latest episodeListen and watch now on YouTube, Spotify, and Apple. See the episode transcript at the top of this page, and timestamps for the episode at the bottom. Jump to interesting parts:
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. — In this episodeChris 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 both compilers, and programming, 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. A quote from the episode
Interesting learnings from this episodeThis episode was full of interesting details. Some of my favorite ones:
The Pragmatic Engineer deepdives relevant for this episode• AI Engineering in the real world • Uber’s crazy YOLO app rewrite, from the front seat • Python, Go, Rust, TypeScript and AI with Armin Ronacher • Microsoft’s developer tools roots 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 ReferencesWhere to find Chris Lattner: • X: https://x.com/clattner_llvm • LinkedIn: https://www.linkedin.com/in/chris-lattner-5664498a • Website: https://nondot.org/sabre Mentions during the episode: • LLVM: https://llvm.org • Swift: https://www.swift.org • GCC: https://gcc.gnu.org • Linux: https://www.linux.org • Autoconf: https://en.wikipedia.org/wiki/Autoconf • Python: https://www.python.org • Mojo: https://www.modular.com/mojo • REPL and Debugger: https://www.swift.org/documentation/lldb/ • Code Complete with Steve McConnell: https://newsletter.pragmaticengineer.com/p/code-complete-with-steve-mcconnell • Python: The Documentary: https://lwn.net/Articles/1035537/ • CUDA: https://developer.nvidia.com/cuda-toolkit • GPU puzzles: https://puzzles.modular.com/introduction.html • Claude Code: https://www.claude.com/product/claude-code • Cursor: https://cursor.com • Beyond Vibe Coding with Addy Osmani: https://newsletter.pragmaticengineer.com/p/beyond-vibe-coding-with-addy-osmani • Beyond Vibe Coding: From Coder to AI-Era Developer: https://www.amazon.com/Beyond-Vibe-Coding-AI-Era-Developer/dp/B0F6S5425Y • Kaleidoscope Tutorial: https://llvm.org/docs/tutorial/LangImpl01.html • Rust Compiler Development Guide: https://rustc-dev-guide.rust-lang.org/overview.html#overview-of-the-compiler — Production and marketing by Pen Name. You’re on the free list for The Pragmatic Engineer. For the full experience, become a paying subscriber. Many readers expense this newsletter within their company’s training/learning/development budget. If you have such a budget, here’s an email you could send to your manager. This post is public, so feel free to share and forward it. If you enjoyed this post, you might enjoy my book, The Software Engineer's Guidebook. Here is what Tanya Reilly, senior principal engineer and author of The Staff Engineer's Path said about it:
|



0 Comments
VHAVENDA IT SOLUTIONS AND SERVICES WOULD LIKE TO HEAR FROM YOU🫵🏼🫵🏼🫵🏼🫵🏼