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

So if you define X as a string, and then you have some use of X somewhere in your code.

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

Within that scope, you mean?

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

Within a scope that is accessible?

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

Yeah, exactly.

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

So you can only use something within its scope.

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

And so then it doesn't wait until the end of the scope to delete it.

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

It destroys it after the last use.

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

Yeah, and it's all in the compiler, so it's not at runtime, which is also cool.

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

And so, yeah, and so what, and this is actually non-trivial because you have control flow.

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

And so it gets complicated pretty quickly.

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

And so like getting this right was not.

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

Also you have to insert delete like in a lot of places.

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

Potentially, yeah, exactly.

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

So the compiler has to reason about this and this is where.

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

Again, it's experience building languages and not getting this right.

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

So again, you get another chance to do it and you get basic things like this, right?

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

But it's extremely powerful when you do that, right?

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

And so there's a bunch of things like that that kind of combine together.

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

And this comes back to the, you get a chance to do it the right way, do it the right way and make sure that every brick you put down is really good so that when you put more bricks on top of it, they stack up to something that's beautiful.

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

Well, so, I mean, let me give you another example of this.