Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

Chris Lattner

πŸ‘€ Speaker
See mentions of this person in podcasts
2524 total appearances

Appearances Over Time

Podcast Appearances

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

Python has a feature called async await.

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

So it's a new feature.

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

I mean, in the long arc of Python history, it's a relatively new feature, right?

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

That allows way more expressive asynchronous programming.

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

Okay.

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

Again, this is a, Python's a beautiful thing and they did things that are great for Mojo for completely different reasons.

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

The reason the async await got added to Python, as far as I know, is because Python doesn't support threads.

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

And so Python doesn't support threads, but you want to work with networking and other things like that that can block.

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

I mean, Python does support threads.

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

It's just not its strength.

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

And so they added this feature called async await.

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

It's also seen in other languages like Swift and JavaScript and many other places as well.

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

Async await in Mojo is amazing because we have a high performance heterogeneous compute runtime underneath the covers that then allows non-blocking IO so you get full use of your accelerator.

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

That's huge.

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

It turns out it's actually really an important part of fully utilizing the machine.

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

You talk about design discussions.

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

That took a lot of discussions, right?

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

And it probably will require more iteration.

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

And so my philosophy with Mojo is that, you know, we have a small team of really good people that are pushing forward and they're very good at

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

the extremely deep knowing how the compiler and runtime and all the low-level stuff works together, but they're not perfect.