Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API 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

It's fine.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

But in Mojo, if you declare a type and you use it, then it means it is going to be that type.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

And the compiler helps you check that and force it.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

And it's safe.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

And it's not, it's not a like best effort hint kind of a thing.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Yeah, so Mojo is pretty hardcore in terms of what it tries to do in the language, which is the philosophy there is that we...

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Again, if you look at Python, right?

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Python's a beautiful language because it's so extensible, right?

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

And so all of the different things in Python, like for loops and plus, and like all these things can be accessed through these underbar, unbar methods, okay?

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

So you have to say, okay, if I make something that is super fast, I can go all the way down to the metal.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Why do I need to have integers built into the language?

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

And so what Mojo does is it says, okay, well, we can have this notion of structs.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

So you have classes in Python.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Now you can have structs.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Classes are dynamic.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Structs are static.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

Cool.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

We can get high performance.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

We can write C++ kind of code with structs if you want.

Lex Fridman Podcast
#381 โ€“ Chris Lattner: Future of Programming and AI

These things mix and work beautifully together.