Chris Lattner: Compilers, LLVM, Swift, TPU, and ML Accelerators | Lex Fridman Podcast #21

Channel:Lex Fridman · Length:1:13:06 · Published:2019-05-13 · Views:200358

Watch on YouTube

Summary

Lex Fridman interviews Chris Lattner, creator of LLVM, Clang and Swift, about compilers, Swift for TensorFlow, TPUs and ML accelerators. The talk covers how hardware and software meet to produce efficient code.

Why HN recommends it

HN commenters point to it as an interesting conversation with the creator of Swift and LLVM, especially for compilers and ML compilation.

I watched a couple of Lex Fridman podcasts this week with Chris Lattner (creator of Swift) that I thought were interesting — HN, 2021

Compilers, interpreters & program analysis · Machine learning & deep learning · Tech pioneers & interviews

Subtitles (excerpt)

the following is a conversation with Chris flattener currently he's a senior director of Google working on several projects including CPU GPU TPU accelerators for tensorflow swift for tensorflow and all kinds of machine learning compiler magic going on behind the scenes he's one of the top experts in the world on compiler technologies which means he deeply understands the intricacies of how hardware and software come together to create efficient code he created the LLVM compiler infrastructure project and the clang compiler he led major engineering efforts at Apple including the creation of the Swift programming language he also briefly spent time at Tesla as vice president of auto pilot software during the transition from autopilot Hardware 1 to hardware 2 when Tesla essentially started from scratch to build an in-house software infrastructure for autopilot I could have easily talked to Chris for many more hours compiling code down across the levels abstraction is one of the most fundamental and fascinating aspects of what computers do and he is one of the world experts in this process it's rigorous science and it's messy beautiful art this conversation is part of the artificial intelligence podcast if

On Hacker News

Chris Lattner also has a very good episode on Lex Fridman (Episode 381, June 2nd, 2023): - [LINK] - [LINK] - [LINK] He has two other episodes on the show: - [LINK] (Episode 131, October 18th, 2020) - [VIDEO] (Episode 21, May 13th, 2019) — tony, 2025-09
I always wondered why the creator of Rust switched to Swift and just now found my answer by Graydon Hoare himself: [LINK] tl;dr it has nothing to do with the relative merits of the two languages --- Edit: I watched a couple of Lex Fridman podcasts this week with Chris Lattner (creator of Swift) that I thought were interesting Chris Lattner: Compilers, LLVM, Swift, TPU, and ML Accelerators | Lex F… — mwattsun, 2021-12
How does this relate to all the work that Christ Lattner et al have been doing at Google with Swift, MLIR, etc.?[a] Is this... a separate, parallel, more encompassing proposal? Is there any coordination between these two groups? -- [a] [VIDEO] — cs702, 2019-09
> Aren't there already many ML libraries for compiled languages out there or are you referring to something else? Something else. If your program is a well-defined set of operations (basically matrix operations for ML), you can optimize the whole specific program instead of calling bunch of individually optimized functions from the library and target a specific hardware (e.g. given GPU). Check fo… — mynegation, 2019-09

Related videos