Menu
Sign In Search Podcasts 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

And the way we do that is that we have to play by the rules, right?

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

And so we keep objects in that representation when they're coming from that world.

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

What's the representation that's being used?

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

In memory.

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

Okay.

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

we'd have to know a lot about how the CPython interpreter works.

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

It has, for example, reference counting, but also different rules on how to pass pointers around and things like this.

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

Super low-level fiddly, and it's not like Python, it's like how the interpreter works, okay?

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

And so that gets all exposed out, and then you have to define wrappers around the low-level C code, right?

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

And so what this means is you have to know not only C,

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

which is a different role from Python, obviously.

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

Not only Python.

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

But the wrappers.

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

But the interpreter and the wrappers and the implementation details and the conventions, and it's just this really complicated mess.

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

And when you do that, now suddenly you have a debugger that debugs Python.

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

They can't step into C code.

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

So you have this two world problem, right?

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

And so by pulling this all into Mojo, what you get is you get one world.

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

You get the ability to say, cool, I have untyped, very dynamic, beautiful, simple code.

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

okay, I care about performance for whatever reason, right?