Hacker News new | ask | show | jobs
by kalb_almas 1054 days ago
Even with improved support for parallelism, what role will Python have in the future if Mojo makes good on even half of its promises?
1 comments

Mojo is not Python.

The underlying pressure on the Python ecosystem is to transition to a post-Moore's law era and effectively become a HPC platform where the "same" code runs on a CPU, a GPU, multicore, clusters etc.

Python may feel the pressure more than others because of the GIL and the fact it is used in compute intensive tasks more than others.

But this major need to transition to easy and seamless HPC/heterogeneous computing is the same for all languages. The question is who will get there first.

Mojo is a superset of python, with goal to be able to run any python code and to import any python module under its own execution model, that runs magnitudes faster. Now, if that actually works as advertised, it would render python obsolete and become mojo instead, even if the authors don’t put it that way.

Lex Fridmans podcast had an interview with one of the creators recently. Chris Lattner, who is also the creator of LLVM and Swift. Recommended listen for those who haven’t heard of mojo yet, if you have 3h to spare.