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

But what that means is that you can go and implement strings and ints and floats and arrays and all that kind of stuff in the language.

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

And so that's really cool because...

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

To me, as an idealizing compiler language type of person, what I want to do is I want to get magic out of the compiler and put it in the libraries.

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

Because if we can build an integer that's beautiful and has an amazing API and does all the things you'd expect an integer to do, but you don't like it, maybe you want a big integer.

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

Maybe you want a sideways integer.

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

I don't know what all the space of integers are.

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

Then you can do that, and it's not a second-class citizen.

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

And so if you look at certain other languages, like C++, one I also love and use a lot, int is hard-coded in the language.

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

But complex is not.

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

And so isn't it kind of weird that you have this STD complex class, but you have int and complex tries to look like a natural numeric type and things like this, but integers and floating point have these like special promotion rules and other things like that that are magic and they're hacked into the compiler.

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

And because of that, you can't actually make something that works like the built-in types.

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

Yeah, so we're still building all that stuff out.

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

So we provide integers and floats and all that kind of stuff.

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

We also provide buffers and tensors and things like that that you'd expect in an ML context.

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

Honestly, we need to keep designing and redesigning and working with the community to build that out and make that better.

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

That's not our strength right now.

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

Give us six months or a year, and I think it'll be way better.

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

But the power of putting it in the library means that we can have teams of experts that aren't compiler engineers that can help us design and refine and drive us forward.

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

Yep, that's very fair.

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

It is very useful, but it's very useful if you're a super low-level programmer right now.