Chris Lattner
๐ค SpeakerAppearances Over Time
Podcast Appearances
And so this is where getting these magic numbers and these things right is really actually quite important.
Yes.
And this has two sides of it.
So Mojo's not done yet.
So I'll give you a disclaimer.
Mojo's not done yet.
But already we see people that take small pieces of Python code, move it over, they don't change it, and you can get 12x speedups.
Somebody was just tweeting about that yesterday, which is pretty cool, right?
And again, interpreters, compilers, right?
And so without changing any code, without... Also, this is not JIT compiling or doing anything fancy.
This is just...
basic stuff, move it straight over.
Now, Mojo will continue to grow out, and as it grows out, it will have more and more and more features, and our North Star is to be a full superset of Python, and so you can bring over basically arbitrary Python code and have it just work.
And it may not always be 12x faster, but it should be at least as fast, and way faster in many cases, is the goal.
Now, it'll take time to do that, and Python is a complicated language.
There's not just the obvious things, but there's also non-obvious things that are complicated, like we have to be able to talk to CPython packages that talk to the CAPI, and there's a bunch of pieces to this.
Yep.
So in the fullness of time, Mojo will solve for all the problems and you'll be able to move Python packages over and run them in Mojo.
Without the CPython.
Without CPython.