Mojo 1.0(modular.com) |
Mojo 1.0(modular.com) |
I just spent a fair bit of time on the official site, and I still don't think I have a very good grasp of what problem this language aims to solve, or why I would select it over other similar languages
Very excited for Mojo once it's open sourced later this year.
Why? Because it uses MLIR? Rust has its own MIR, it's even more not-LLVM-wrapper.
Chris Lattner said in a Developer Voices podcast interview:
"Swift in a way was syntactic sugar for LLVM, at the very bottom of the stack it could talk directly to LLVM primitives. Mojo does basically that same trick, but it supercharges it by moving to this MLIR world."
https://mojolang.org is a lot better as a introduction to the language for a programmer, at least for me, compared to whatever I could find on the modular.com website.
I hope with 1.0 (havent fully read the article yet) they stop breaking language features / syntax because they did quite a few different changes over time, their overall goal is to be a fully native superset of Python.
I do see this one overtaking Nim over time, which kind of saddens me, because I like Nim for what it is, but Mojo trying to be a superset of Python is a no-brainer for most Python developers. Reminds me of how a lot of Go devs were former Python devs not C++.
Much better options out there. Python already has libraries like Pydantic that offload performance to functions written in Rust under the hood.
The alternatives would be stuff like CUDA
Clang actually has replaced most GCC forks exactly because vendors can keep the fork closed source.
Lastest OpenCV 5 release notes also had a lot of LLMisms.
I guess that's the new normal. Still, I am very hopeful for Mojo.
Did they think that image would make them look fun or interesting? Because it's exactly the opposite.
Yes, so basing confidence on it is totally bogus. Such comments are cheap and add nothing to the discussion of Mojo reaching 1.0 status.
So maybe an AI image isn't the worst.
Why not now though? Why wait for 4 more months? What magic is there to hide in just making it source available at least.
That's the favorable interpretation, atleast.
Am I understanding the current state of things correct?
They should show some performance comparisions between PyTorch and Mojo, PyTorch+kernel compilation + Triton vs Mojo, ThunderKittens vs Mojo.
The fact that they release 1.0 without doing this, I think says a lot. I personally haven't even started looking into Mojo because of the closed source stuff, but usually you can tell what's going on by looking for what's obviously missing.
But I hope they succeed, it's a very interesting approach. Then I will jump on it later on. S
awesome
(And now in the age of LLMs, the barriers to get started with a new programming language are lower than ever)
Additionally, anyone who has seen how Swift evolved should be wary of Lattner saying "the language is mostly stable", or even "the language is released".
It was just a different culture. There was no expectation that everything should be free.
AMD/NVIDIA/Intel now having first class support for Python DSLs or GPU JITs for their APIs, and Julia as well.
Is the output correct? Does it do the job? Have you verified it and don’t expect me to do it for you? Then I don’t care if it came out of your brain and Cheeto fingers on your keyboard or your dog’s ass.
Pretending this image has anything to do with the quality of the Mojo project as a whole is asinine and embarrassing.
Nvidia is also a major contributor to MLIR, which they use for TileIR and ClangIR, so should a compatibility break occur it wouldn't be entirely up to Mojo to fix it.
Hmm, I've been under the impression that at one point they said it'd be 100% FOSS by the time 1.0 hits, but maybe I misunderstand/misremember the details. But I remember they'd said it'd be FOSS in connection with 1.0, seems weird to do it this way instead of waiting until it's all FOSS then cut 1.0.
Make of that what you will.