Remix.run Logo
rubymamis 8 hours ago

Mojo is a language with Pythonic syntax that compiles to fast machine code built by the creator of Swift: https://www.modular.com/open-source/mojo

ModernMech 2 hours ago | parent [-]

Hold up... did I miss something, is Mojo open sourced now?

Edit: No it is still not open source. There are still same promises of open sourcing eventually, but there is no source despite the URL and the website claiming it's an open language. What's "open" here is "MAX AI kernels", not Mojo. They refer to this as "750k lines of open source code" https://github.com/modular/modular/tree/main/max/kernels

This feels icky to me.

melodyogonna 32 minutes ago | parent [-]

The compiler will be open-sourced in a few months.

adsharma 21 minutes ago | parent [-]

There is a question of what benefit would it bring even if its open sourced?

Static python can transpile to mojo. I haven't seen an argument on what concepts can only be expressed in mojo and not static python?

Borrow checker? For sure. But I'm not convinced most people need it.

Mojo therefore is a great intermediate programming language to transpile to. Same level of abstraction as golang and rust.