I feel like this language would really benefit from some sort of 1-pager overview. 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
Do you mean the Modular site or the Mojo site? https://mojolang.org/ makes some clear statements.
Mojo 1.0
211–220 of 229 posts
Re: Mojo 1.0
#212Earlier quoted context omitted.
The novelty is in parrelizing LLVM, which is traditionally a single-thread code generator.
So basically LLVM catching up with times.
Re: Mojo 1.0
#213I feel like this language would really benefit from some sort of 1-pager overview. 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
Re: Mojo 1.0
#214Earlier quoted context omitted.
It's supposed to be (currently) a fully native, Python-like language, but for GPUs primarily. Though I am seeing it as having a future as a fully native Python alternative that might get interesting. 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…
> their overall goal is to be a fully native superset of Python Not any more. That was the initial announcement, but I think then somebody actually looked at Python and realised what a complex language it is - so they refocused on being a Python-like language. Python has a reputation for being a simple language, but in reality it isn’t at all.
Re: Mojo 1.0
#215I feel like this language would really benefit from some sort of 1-pager overview. 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
Their communication definitely needs work. I listened to the interview with Chris on the Lex Friedman podcast a few years ago. Back when the pitch still was "minimal python superset that allows us to make it go voom". It wasn't a bad pitch. But it's gotten a lot murkier since then apparently. And obviously pitching a new language just before world plus dog was about to switch to delegating programming work to AI agen…
Sorry, but what's the pitch?
Re: Mojo 1.0
#216Earlier quoted context omitted.
So basically LLVM catching up with times.
Well, LLVM itself is still single-threaded; they just designed Mojo's compiler in such a way that the code generation part can be parallelised, which is something you can do if you understand LLVM from top to bottom. As far as I can see, no other production-grade LLVM consumer has been able to make it parallel; the single-threaded nature remains a major performance bottleneck.
> The novelty is in parrelizing LLVM, which is traditionally a single-thread code generator.
You said they parallelized LLVM with novel techniques, but then claimed the novelty is the very act of parallelizing it. That's circular, you still haven't explained what are the novel techniques?
Re: Mojo 1.0
#217Earlier quoted context omitted.
Well, LLVM itself is still single-threaded; they just designed Mojo's compiler in such a way that the code generation part can be parallelised, which is something you can do if you understand LLVM from top to bottom. As far as I can see, no other production-grade LLVM consumer has been able to make it parallel; the single-threaded nature remains a major performance bottleneck.
> Modular found ways to parralize LLVM code generation by introducing novel techniques > The novelty is in parrelizing LLVM, which is traditionally a single-thread code generator. You said they parallelized LLVM with novel techniques, but then claimed the novelty is the very act of parallelizing it. That's circular, you still haven't explained what are the novel techniques?
Re: Mojo 1.0
#218Earlier quoted context omitted.
Language-feature-wise it seems like Nim will be competitive. Ecosystem-wise… yeah it's kind of a nonstarter over in Nim land. There are not many go-to libraries and its culture is not very collaborative. People seem more enamored at what they can hack together than what they can contribute to.
Part of that is because there isn’t yet a package format and a central repository. I have a few libraries I would like to contribute or merge with similar projects.
Why haven't they happened yet though...? Nim is not a young language. Leadership [Andreas] doesn't think they are more important than spending time adding another memory management option.
Re: Mojo 1.0
#219> following the standards of how mature languages (e.g. C++) evolve over time This gave me a chuckle. When I think of languages evolving their standards, I do think of C++. But not, you know, in a good way.
Re: Mojo 1.0
#220Earlier quoted context omitted.
> makes the whole thing immediately feel cheap, it's wild Hard to decide if the blog post is wild, or people's visceral reactions to it. I've said it before: I believe the obsession in trying to figure out if something is AI generated will soon be classified as a mental disorder.
There’s no obsession. It’s an obvious, ugly slop.