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

kernel, a numerical algorithm that actually keeps things in the accelerator instead of having to write all the way out to memory.

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

What's happened with these accelerators now is you get multiple levels of memory.

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

Like in a GPU, for example, you'll have global memory and local memory and all these things.

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

If you zoom way into how hardware works, the register file is actually a memory.

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

So the registers are like an L0 cache.

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

And so a lot of taking advantage of the hardware ends up being fully utilizing the full power in all of its capability.

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

And this has a number of problems, right?

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

One of which is, again, the complexity of disaster, right?

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

There's too much hardware.

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

Even if you just say, let's look at the chips from one line of vendor like Apple or Intel or whatever it is.

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

each version of the chip comes out with new features and they change things so that it takes more time or less time to do different things.

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

And you can't rewrite all the software whenever a new chip comes out, right?

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

And so this is where you need a much more scalable approach.

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

And this is what Mojo and what the modular stack provides is it provides this infrastructure and the system for factoring all this complexity and then allowing people to express algorithms.

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

You talk about auto-tuning, for example,

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

express algorithms in a more portable way so that when a new chip comes out, you don't have to rewrite it all.

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

So to me, I kind of joke, what is a compiler?

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

Well, there's many ways to explain that.

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

You convert thing A into thing B, and you convert source code to machine code.

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

You can talk about many, many things that compilers do.