Chris Lattner: Compilers, LLVM, Swift, TPU, and ML Accelerators | Lex Fridman Podcast #21
Lex Fridman2 HN recommenders · 2019–2025
200K views · interview · evergreen · Uploaded 2019-05-13
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.
HN commenters point to it as an interesting conversation with the creator of Swift and LLVM, especially for compilers and ML compilation.
2:25:52The spelled-out intro to neural networks and backpropagation: building micrograd
Andrej Karpathy
18:40But what is a neural network? | Deep learning chapter 1
3Blue1Brown
36:45Rich Harris - Rethinking reactivity
You Gotta Love Frontend
1:00:43Jim Simons (full length interview) - Numberphile
Numberphile2
14:34Steve Jobs Stanford Commencement Speech 2005
JoshuaG
51:18Lexical Scanning in Go - Rob Pike
GoogleFOSSSydney
1:31:06William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]
PapersWeLove
1:30:28AlphaGo - The Movie | Full award-winning documentary
Google DeepMind
4 comments from Hacker News
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]
> 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 for example Chris Lattner’s interview [1] and presentations on MLIR, or proceedings of C4ML workshop [2]. Application in distributed systems: from the top of my head - protobufs, compilation of Erlang and Elixir to BEAM, dask. [1] [VIDEO] [2] [LINK]
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 Fridman Podcast #21 [VIDEO] Chris Lattner: The Future of Computing and Programming Languages | Lex Fridman Podcast #131 [LINK]
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)