r/ProgrammingLanguages • u/yorickpeterse Inko • Aug 18 '26
Blog post Mojo🔥 is now open source!
https://www.modular.com/blog/mojo-open-source
159
Upvotes
r/ProgrammingLanguages • u/yorickpeterse Inko • Aug 18 '26
45
u/benreynwar Aug 18 '26
It seems like there is still lots of stuff that is not open-sourced that you need to compile to GPU. Am I missing something?
19
u/benreynwar Aug 18 '26
Compiler overview is at https://github.com/modular/modular/blob/main/KGEN/docs/MojoCompilerWalkthrough.md
24
u/IncredibleReferencer Aug 18 '26
As a traditional programmer that doesn't know squat about GPU/AI programming, I'm confused by the value proposition of mojo. As best I can understand it it's an alternative to CUDA intended to be somewhat hardware agnostic, but it still requires licensed proprietary components to be used in any meaningful production environment. So your trading one lock-in for another. What am I missing?
6
u/IAMPowaaaaa Aug 18 '26
I wonder if they implemented the Group Borrowing thing
13
u/bgs11235 Aug 18 '26
let's see the commit number, 50K Commits + 400+ contributors... Gah damn.... This project might be big. Deffinetly interesting. I look forward to porting a lot of python stuff too mojo.
6
u/five5years Aug 18 '26
Been waiting for a stable 1.0 for a long time!
3
u/Meistermagier Aug 19 '26
Is it though? Or do they still have half of their shit packaged away as proprietaryÂ
6
u/verdagon Vale Aug 18 '26
I worked in the Mojo codebase for over a year, ask me anything =)
7
u/Lime_Dragonfruit4244 Aug 18 '26
A very small amount of people touch gpu or general heterogeneous programming and even then for ml stuff you mostly express your models in jax, pytorch or related dsl or just use an embedded dsl like triton for writing escape hatches for when the compiler doesn't give you enough performance or go down to cuda or ptx directly. So i am not sure what does mojo as a product brings to the table. Its cool and all as a research project but I am having a hard time believing anyone would use it for real work.
-3
u/FruitdealerF Aug 18 '26
This project allows LLM contributions, why is it allowed to be posted in this subreddit?
1
u/Rechenplaner Aug 18 '26
Does Mojo have the potential to be useful in the backend, for instance, as a faster alternative to TypeScript; for people who aren't keen on Go or Rust? Or is Mojo only useful for GPU/AI?
-1
u/umlcat Aug 18 '26
Damn, they took the "modular" domain over me ...
Anyway, let's take a look what is this project about ...