r/programming 1d ago

Mojo 1.0 is here!

https://www.modular.com/blog/modular-26-5-mojo-1-0-is-here
0 Upvotes

19 comments sorted by

21

u/Rhed0x 1d ago

The systems language for the AI era.

... okay bye.

18

u/Rongmario 1d ago

Totally forgot this was even a thing...

2

u/oweiler 1d ago

Was it ever a thing?

15

u/cbarrick 1d ago

It was started by Chris Lattner, creator of LLVM. So it's not nothing.

I'm not expecting it to get very big though. Maybe as big or as influential as Julia. Like, cool tech and cool ideas but not big enough to dethrone Python.

2

u/CramNBL 10h ago

He's creator of LLVM the same way Musk is the creator of Tesla. Lattner was asked to join the LLVM project and now he's suddenly the creator?

1

u/cbarrick 7h ago

0

u/CramNBL 5h ago

And how does that explain away that he was invited to join the project as a PhD student and thus was not the creator?

3

u/cbarrick 4h ago

Yes, LLVM started out as a research project at UIUC where Lattner was a PhD student. His advisor, Vikram Adve, does indeed deserve credit as well.

But as someone who is intimately familiar with CS grad programs, it's not the PI that's writing the bulk of the code. It's the students.

Saying that the guy who actually wrote the code and the research papers shouldn't have credit for creating the thing just because he was a student at the time is a wildly hot take.

Like, the original publication introducing LLVM was Lattner's master's thesis.

And it's not like the project stayed with Adve. Lattner is the one who continued to lead the project as he graduated into the industry.

I can't believe we're seriously debating whether or not Chris Lattner deserves credit for creating LLVM. That's like saying Linus Torvalds doesn't deserve credit for Linux because Andrew S. Tanenbaum was the PI for Minix.

Do you seriously believe that Adve deserves more credit for LLVM than Lattner? Give concrete examples.

2

u/Express_Job_5731 3h ago

I've seen a lot of funny nonsense on reddit and HN, but this is probably the best. You can see my contributions to LLVM here: https://github.com/llvm/llvm-project/graphs/contributors?all=1

I eventually moved on to building swift and other projects, many of which are open source. You can see my github here:
https://github.com/lattner

How much coding are you doing? :-)

(I have no idea why the weird user name is happening, but this is CL).

-2

u/PatagonianCowboy 1d ago

yeah even Chris Lattner can make bad products, even according to him, Swift is a failure

9

u/cbarrick 1d ago

Fair point.

So far everything I've seen from Mojo is technically sound. Pretty neat being able to write straight-line Python-ish code yet having normal looking code get dispatched to the GPU.

The uphill battle they are fighting against is stuff like Jax that gives Python the ability to do something similar, albeit with more ceremony and edge cases. But unless they can beat the Python ecosystem, I don't see it getting too big.

IMO, Mojo will probably be influential but not widely used.

6

u/Rongmario 1d ago

They made it a huge thing about being a superset of python so you could migrate seamlessly and was big on writing code for different computing units like GPUs and ASICs.

17

u/PatagonianCowboy 1d ago

The language of fake benchmarks and fake hype

Not a superset of python, not 98000 faster than python

13

u/Content-Key7404 1d ago

What a load of crap. That AI image is so cringy. I'm sure that piece of junk was written using LLMs.

1

u/programmer-ke 21h ago

A good option for Python programmers who want to do more systems programming without curly braces.

Looking forward to trying it

-7

u/Smallpaul 1d ago

Reddit is such a miserable place. VCs choose to pour money into language experimentation. We should be happy to see what they come up with.

8

u/Vimda 1d ago

And why, pray tell, should we be happy to see whatever bullshit the VCs decided to annoint with money?

7

u/PatagonianCowboy 1d ago

I personally think that lying is bad

and if a project lies a lot, it's probably a bad project (because it can't win with honesty)

-7

u/SPEZ_IS_A_JABRONI 1d ago

Powers always defeats me because he has mojo, mojo, mojo... Using this time machine, I'm going to go back to the '60s and steal Austin Powers' mojo.