logoalt Hacker News

Mojo is now open source!

105 pointsby visheshdemblatoday at 4:23 PM26 commentsview on HN

Comments

SwellJoetoday at 7:17 PM

As long as it was proprietary, I could ignore it. Now, I guess I have to learn a little something about it.

mrbonnertoday at 6:47 PM

So I think the permissive license like Apache 2 without opening up for upstream contributions would be the way of future open source development. In a very similar way of SQLite. It definitely will help shield off a bunch of AI generated contributions first and foremost and then, aligning mental model with the human contributions with Mojo leader team.

setopttoday at 6:28 PM

Very exciting. Closed source was one of the main things making me not try it out yet.

Any good resources for getting started? And anything on doing NumPy/SciPy-like stuff in it?

show 2 replies
totalperspectivtoday at 4:54 PM

This is really exciting. I've been using Mojo off and on for side projects over the last two years.

(copying from some previous Mojo threads) It's got an ownership system adjacent to Rust, comptime similar to Zig, and a first class dependent type system. Even more exciting, is that uses LLVM (to the best of my understanding) in some novel ways and for more optimizations.

melodyogonnatoday at 5:52 PM

Such an exciting time for Mojo, I don't think people realize just yet the innovation being brought to fore here.

show 1 reply
melodyogonnatoday at 5:03 PM

Related post with relevant pr: https://news.ycombinator.com/item?id=49347777

ModernMechtoday at 8:13 PM

"Modular Confidential (obviously), May 14, 2022"

lol, feels like espionage

https://github.com/modular/modular/blob/main/KGEN/docs/Desig...

Compiler walkthrough

https://github.com/modular/modular/blob/main/KGEN/docs/MojoC...

Lichtsotoday at 4:49 PM

Technically soruce available now with the promise of accepting contributions (thus becoming fully open source) early next year. But since it is an Apache 2 license (like the rest of the LLVM project) you are already allowed to fork and contribute to your own fork right now, just no upstreaming.

For many the closed source nature of the compiler was a knock-out criterion. We will see if Mojo can gain traction now or if it has missed its window of opportunity.