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

It's either optionally or progressively.

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

So people have very strong opinions on the right word to use.

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

I don't know.

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

Yeah, var makes it mutable, so you can reassign.

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

So Python is a dynamic language.

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

The way it works is that Python and Objective-C are actually very similar worlds if you ignore syntax.

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

And so Objective-C is straight line derived from small talk.

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

a really venerable, interesting language that much of the world has forgotten about, but the people that remember it love it generally.

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

And the way that Smalltalk works is that every object has a dictionary in it, and the dictionary maps from the name of a function or the name of a value within an object to its implementation.

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

And so the way you call a method in Objective-C is you say, go look up, the way I call foo is I go look up foo, I get a pointer to the function back, and then I call it.

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

That's how Python works.

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

And so now the problem with that is that the dictionary within a Python object, all the keys are strings.

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

and it's a dictionary, so you can only have one entry per name.

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

You think it's as simple as that?

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

I think it's as simple as that.

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

And so now, why do they never fix this?

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

Why do they not change it to not be a dictionary?

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

Why do they not do other things?

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

Well, you don't really have to in Python because it's dynamic.

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

And so you can say, I get into the function.