Top
Best
New

Posted by dayanruben 1 day ago

Mojo 1.0(www.modular.com)
426 points | 236 commentspage 2
alberth 1 day ago|
So is the language itself proprietary licensed, with standard library Apache 2?

Am I understanding the current state of things correct?

vovavili 4 hours ago||
A bit odd to have a 1.0 release without Windows support.
ubercore 1 day ago||
This probably has a simple answer, and is something I can easily google. But it's always been in the back of my mind, what optimizations would be possible if you took actual python code and forced 100% type annotation. Could you meaningfully speed that up at the interpreter or with some pre-processing or compilation?
Etheryte 1 day ago|
Compare the same algorithm/program in Python and C and that's roughly your answer, no?
xiphias2 1 day ago||
Mojo may be interesting to me, but they should really split it from Max, which is some closed stuff I'm not interested in.

They should show some performance comparisions between PyTorch and Mojo, PyTorch+kernel compilation + Triton vs Mojo, ThunderKittens vs Mojo.

embedding-shape 1 day ago||
> 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.

geodel 1 day ago|||
They kind of did. It has a separate website now [1] . All the docs, announcements, roadmap, some comparisons as you asked are there. So they do seem to be working towards separation.

1. https://mojolang.org/

xiphias2 1 day ago||
Thanks, it's so boring and disappointing.

LLVM has such a cool tutorial, eventhough I haven't written a programming language myself, it was excitung to go through it to see how static programming languages are lowered to SSA form.

Mojo should have something showing how to write a super fast matmul and especially what's interesting for me is a fast linear attention kernel, as that's where PyTorch is getting much harder to use.

pbronez 1 day ago|||
Aren’t they already separated? Max is an inference runtime, written in Mojolang, which uses the MLIR compiler chain to target diverse accelerator hardware.
adityazero 1 day ago||
[dead]
adsharma 1 day ago||
Given the shared heritage with MLIR, one way to think about mojo: higher level IR, but still an IR. Rpython for GPUs.

But mojo is a superset, not a subset. So why not use a subset, infer what you need and generate mojo?

I've never seen this question actually presented to the company and discussed in more detail.

beanjuiceII 1 day ago||
never has their been a language release so uninspiring
perarneng 1 day ago||
The main downside is that usually I only choose languages that the LLM is extremely good at. (however I avoid dynamically typed).

But I hope they succeed, it's a very interesting approach. Then I will jump on it later on. S

384028345 1 day ago||
Are you aware of this?

https://github.com/modular/skills

nylonstrung 1 day ago|||
The premise of Mojo used to be that it was a superset of Python so in theory LLMs would benefit from that but I'm not sure how much divergence there's been
refactor_master 1 day ago||
Wouldn't that cause an awful lot of confusion in practice? Instead of having one being a superset of the other, you now have two almost identical syntaxes, but probably not quite.

LLMs have enough problems distinguishing between major versions between packages, e.g. where all the imports were moved around and renamed.

oceansky 1 day ago||
Are there any benchmarks on which languages models perform best?
joddystreet 1 day ago||
a systems language that reads like python is great!

python superset would have been perfect.

I do hope the language thrives and gets a community.

All the best to the modular team.

whimsicalism 1 day ago||
Sorry Chris, love you but will not use a closed language.
gabrielsroka 1 day ago|
They're open sourcing it next week. It's in TFA
ModernMech 1 day ago||
TFA says "we will open source the Mojo compiler and toolchain in 2026" and "we’ll share more on our plans for Mojo, MAX, and open source at ModCon on August 18th" which makes it seem they're not open sourcing it next week, but some time between next week and 1/1/27.
charlieyu1 1 day ago|
Interesting. Heard about Mojo a few years now, never really tried it. My Python brain cannot really write C++ or Rust but still need the performance.
seanw444 1 day ago||
You may have heard of it already, but Nim has existed in this space for some time.
mathverse 1 day ago|||
Nim could do better with more than just 1 or 2 brilliant developers
SJMG 1 day ago|||
Julia as well.
raytopia 1 day ago||
Take a look into numba, you add a decorator to your function and it turns it into compiled code.
maleldil 1 day ago||
It's JIT only, and it needs to be in a particular shape to be effectively compiled. It's mostly for numeric code, but there are many other cases where native code would be better.
More comments...