Chris Lattner
๐ค SpeakerAppearances Over Time
Podcast Appearances
Well, modern computers, they can do more than one operation at a time.
And so they have vectors.
What is a vector?
Well, a vector allows you to take one, instead of taking one piece of data, doing an add or multiply, and then pick up the next one, you can now do four or eight or 16 or 32 at a time, right?
Well, Python doesn't expose that because of reasons.
And so now you can say, okay, well, you can adopt that.
Now you have threads, now you have like additional things like you can control memory hierarchy.
And so what Mojo allows you to do is it allows you to start taking advantage of all these powerful things that have been built into the hardware over time.
And it gives, the library gives very nice features.
So you can say, just parallelize this, do this in parallel.
So it's very powerful weapons against slowness, which is why people have been, I think, having fun just taking code and making it go fast because it's just kind of an adrenaline rush to see how fast you can get things.
Yeah, good question.
So Python has types.
It has strings.
It has integers.
It has dictionaries and all that stuff.
But they all live at runtime.
And so because all those types live at runtime in Python, you don't have to spell them.
Python also has this whole typing thing going on now, and a lot of people use it.
I'm not talking about that.