Skip to content
0:00 / 0:00

#mojo#swift#llvm

Chris Lattner: Future of Programming and AI | Lex Fridman Podcast #381

Lex Fridman

5M subscribers • 39 videos on Hallway

YouTube
  • Recommended by 5 people: 4 on Hacker News and 1 in engineering communities.
  • Presented by Chris Lattner, creator of Swift and LLVM

Intermediate. Assumes working knowledge.

2M views3 years ago5 recommendations

Programming languagesAI and machine learningLanguage design and type systemsCompilers and interpretersTransformers and LLMs

Chris Lattner discusses the design of the Mojo programming language, the future of AI, and lessons learned from building Swift and LLVM.

Chris Lattner is a legendary software and hardware engineer, leading projects at Apple, Tesla, Google, SiFive, and Modular AI, including the development of Swift, LLVM, Clang, MLIR, CIRCT, TPUs, and Mojo. Please support this podcast by checking out our sponsors: - iHerb: lexfridman.com/iherb and use code LEX to get 22% off your order - Numerai: numer.ai/lex - InsideTracker: insidetracker.com/lex to get 20% off EPISODE LINKS: Chris's Twitter: twitter.com/clattner_llvm Chris's Website: nondot.org/sabre/ Mojo programming language: modular.com/mojo Modular AI: modular.com/ PODCAST INFO: Podcast website: lexfridman.com/podcast Apple Podcasts: apple.co/2lwqZIr Spotify: open.spotify.com/episode/6flH0XxwdIbayoXTHOgAfI RSS: lexfridman.com/feed/podcast/ Full episodes playlist: youtube.com/playlist?list=PLrAXtmErZgOdP_8GztsuKi9nrraNbKKp4 Clips playlist: youtube.com/playlist?list=PLrAXtmErZgOeciFP3CBCIEElOJeitOr41 OUTLINE: - Introduction - Mojo programming language - Code indentation - The power of autotuning - Typed programming languages - Immutability - Distributed deployment - Mojo vs CPython - Guido van Rossum - Mojo vs PyTorch vs TensorFlow - Swift programming language - Julia programming language - Switching programming languages - Mojo playground - Jeremy Howard - Function overloading - Error vs Exception - Mojo roadmap - Building a company - ChatGPT - Danger of AI - Future of programming - Advice for young people SOCIAL: - Twitter: twitter.com/lexfridman - LinkedIn: linkedin.com/in/lexfridman - Facebook: facebook.com/lexfridman - Instagram: instagram.com/lexfridman - Medium: medium.com/@lexfridman - Reddit: reddit.com/r/lexfridman - Support on Patreon: patreon.com/lexfridman

Why it's here

5 people recommend this

What people say. Recommended for its deep insights into programming language design, compilers, and the engineering decisions behind Mojo and Swift.

Moments people linked to

u/Zenonlitein r/Zig • Recommends

Chris Lattner name drops Zig and it's comptime feature in new Lex Fridman Podcast (18:30 timestamp)
69View on Reddit

teh_klevon Hacker News • Recommends

On “Mojo is a much better “Objective-C without the C” than Swift ever was”

This episode of the Lex Fridman podcast, where Chris Lattner talks to Fridman about Mojo and other things, might be of interest to readers: link to this video

spmurrayzzzon Hacker News • Recommends

On “Mojo is a much better “Objective-C without the C” than Swift ever was”

Lattner being behind Mojo always engendered some benefit of the doubt despite my initial gripes with the marketing claims, but his recent interview with Lex Fridman 1 further emboldened my stance that if Mojo can succeed, Lattner is one of the best-positioned engineers to see it through. 1 link to this video

spacephysicson Hacker News • Recommends

On “Show HN: Python can make 3M+ WebSocket keys per second”

Mojo seems like a very promising solution, despite it being AI oriented. Lex Friedman had a great podcast with the founder, its first version was released about a month ago, and in two weeks got 10k discord users. A superset of python that, once finished, can run all native python code, but also adds language features to get closer to the “metal”, getting speeds of C libraries with the ability to properly debug and step through it. If this project goes the way it’s promised (the guy has great experience with language development), this could further cement python as it would solve its biggest criticisms. Very excited for it link to this video link link

tonyon Hacker News • Recommends

On “ML needs a new programming language – Interview with Chris Lattner”

Chris Lattner also has a very good episode on Lex Fridman (Episode 381, June 2nd, 2023): - link to this video - link - link He has two other episodes on the show: - link (Episode 131, October 18th, 2020) - link (Episode 21, May 13th, 2019)

ftxbroon Hacker News • Mentions

On “Do LLMs eliminate the need for programming languages?”

Anyone who doesn't know, this is by Chris Lattner the famous hacker who made projects like LLVM, Clang, Swift. link He is writing this as part of a marketing blitz for his new platform Mojo link If you want to see more, he did a long interview with lex fridman recently as part of the same marketing blitz link to this video maybe dang will put this into the recirculation queue and retitle it something like 'chris lattner writes blogpost' it will go to number one place on hacker news

tipsytoadon Hacker News • Mentions

On “Mojo is a much better “Objective-C without the C” than Swift ever was”

I think largely because swift and mojo have the same creator, chris lattner. He was a guest on lex fridman last week link to this video

V1ndaaron Hacker News • Mentions

On “Mojo is now available on Mac”

…h people to write his own language within ~2 years so as not have to follow random peoples whim about where to take the language. So I guess I can't blame him. But as someone who's pretty invested in the Nim community it's quite a shame to see such a hyped language receive so much attention by people who should really check out Nim. ¯\_(ツ)_/¯ 0: link to this video 1: link…

jasodeon Hacker News • Mentions

On “The Mojo language (by Modular, now Qualcomm) is now open-source”

…ew where he says he learned lessons from Swift being rapidly released as open source meant that early design decisions that were suboptimal caused quick revisions. This caused a lot of complaints when later revisions to Swift caused breakages. This caused a lot of stress for Chris & the Swift team so he says he didn't want to repeat that for Mojo. link to this video Sure, one can simple redo the exact same playbook with Mojo and iterate out in the open with early versions, and when people complain again about their code breaking, he can "just ignore it" but he didn't like that experience with Swift.…

u/oilshellin r/ProgrammingLanguages • Mentions

On “Oils Is Exterior-First (Code, Text, and Structured Data)”

It was in this recent one about Mojo link to this video Unfortunately I don't have a timestamp, but it's quite good and I watched almost all of it. (I also watched his first 2 appearances on the Lex Fridman podcast, they're all quite good) I was a bit confused/skeptical about Mojo, but the interview has a lot of great info. It still is insanely ambitious, but yeah you can't argue with the track record! No harm in trying something big Now that I know more about languages, I'm in awe of Clang and LLVM as achievements. He is insanely productive, and also a good leader I've also been amazed at CPython for a number of years -- most people underestimate it (and that relates to this interview too).…