4 ms·
It is Python with the ability to write high performance code within specified functions, eliminating the need to link in C code. However the interop with C will
by twobitshifter 3y ago
It is Python with the ability to write high performance code within specified functions, eliminating the need to link in C code. However the interop with C will be the same as Python, which is already very good, Mojo is just going beyond that.
It compiles to llvm. This means the python environment headaches will disappear.
- boxed 3y ago> It is Python with the ability to write high performance code within specified functions It might become that (personally I doubt it, but that's the stated goal). It isn't now. Not really close even. No kwargs, no python classes for example. > It compiles to llvm. This means the python environment headaches will disappear. Weeeeell. Not if you want to use any Python library. Because then it just calls into CPython. And that's a huge part of why Mojo is interesting in the first place. So I would say no.
- mr_00ff00 3y agoSo is it a systems language?
- twobitshifter 3y agoYes, in the benchmarks it’s competitive and compiled programs stay tiny unlike Python which packages the interpreter. According to the story being told, it could end up a sort of one-language-to-rule-them-all. Python was chosen by Chris Lattner specifically for his wide spread adoption and Mojo is sometimes called Python++.