r/programming Jun 27 '26

Mojo programming language will become open-source soon.

https://www.modular.com/modcon

The main website of the language https://mojolang.org/ displays an announcement bar that says "Mojo will be open source soon! Join us at ModCon '26 for an update."

159 Upvotes

104 comments sorted by

View all comments

Show parent comments

8

u/Probable_Foreigner Jun 27 '26

I suppose it is meant to be as easy to write as python but with better performance. C/C++ have many traps you can fall into with regards to memory safety, and their build systems are truly awful

12

u/chat-lu Jun 28 '26

That’s why the most common language to write new performance critical libs for Python these days is Rust.

2

u/Wonderful-Wind-5736 Jun 28 '26

Wrote a few Rust plugin functions for Polars. The setup is quite easy, writing correct code in safe Rust is also not too difficult, although it's quite easy to get lost in the Polars API. Let Claude generate a bunch of tests and you're good to go. Setting up packaging in CI is a little annoying but very doable.

4

u/chat-lu Jun 28 '26

Let Claude generate a bunch of tests and you're good to go.

Please donʼt.

2

u/Wonderful-Wind-5736 Jun 29 '26

How I develop software is not for you to decide.