Lex Fridman Podcast

Chris Lattner: Compilers, LLVM, Swift, TPU, and ML Accelerators

22 snips
May 13, 2019
Chris Lattner, Senior Director at Google and the mastermind behind LLVM and Swift, dives deep into the world of compiler technologies. He shares insights on the evolution of programming from BASIC to complex compilers like LLVM and the unique challenges of developing Swift. The discussion extends to how neural networks and compilers intersect and the remarkable capabilities of TPUs in machine learning. Lattner also reflects on the cultural contrasts between Apple and Google regarding open source, and the intriguing symbolism behind the LLVM dragon logo.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

First Program

  • Chris Lattner's first programming experience involved typing out BASIC programs from a book as a kid.
  • Debugging typos became an early lesson in how programs work.
INSIGHT

LLVM's Purpose

  • LLVM standardizes the middle and latter parts of compilation (optimization and code generation), enabling code reuse.
  • Different languages, including Swift, Julia, Rust, C, C++, and Objective-C, can leverage LLVM's infrastructure.
ANECDOTE

Inspiration for Compilers

  • Chris Lattner's interest in compilers stemmed from his undergraduate advisor, Steve Vegdahl, whose passion was infectious.
  • Lattner enjoyed the software engineering challenges and learning how to work with a team.
Get the Snipd Podcast app to discover more snips from this episode
Get the app