r/ProgrammingLanguages Inko 14d ago

Blog post Mojo🔥 is now open source!

https://www.modular.com/blog/mojo-open-source
146 Upvotes

63 comments sorted by

View all comments

5

u/verdagon Vale 14d ago

I worked in the Mojo codebase for over a year, ask me anything =)

3

u/Infamous_Sorbet4021 13d ago

What are your thoughts on the negative reception Mojo has faced within the programming community, and how should the project move forward?

3

u/verdagon Vale 13d ago

My opinions on that might be a bit too spicy to speak aloud, because I was so close to it. Sorry! XD

3

u/njnrj 14d ago

Hey, thanks in advance. How doest it eliminate the GC? the borrow checker is not widely discussed as much as in the case of Rust. How does it compare to it? 

7

u/verdagon Vale 14d ago

One can think of it like Rust's borrow checker with some ergonomic improvements, it's built on shared-xor-mutable just like Rust is.

1

u/PersistentMosquito 9d ago

Thoughts on Mojo vs Carbon vs Rust approaches for memory safety?

1

u/AssOverflow12 13d ago

Is it possible to switch an existing Python backend with type annotations to this? What would I gain? Asking for a backend project.

3

u/verdagon Vale 13d ago

Depends what you mean by switched. If you want to call into Mojo code from Python, or Python to Mojo, that's something they're working on ~currently and some of that interop already works. If you want to migrate your typed Python code to Mojo, alas, that won't work any time soon.

2

u/AssOverflow12 12d ago

I meant the latter, meaning taking an existing Python codebase and instead of the standard Python toolchain, build it with Mojo. Similarly to how you could with JavaScript and TypeScript. Thank you for clearing that up!

1

u/Inconstant_Moo 🧿 Pipefish 13d ago

What is the airspeed velocity of an unladen swallow?

1

u/verdagon Vale 13d ago

42 miles per hour, if it's a European swallow.

1

u/levodelellis 4d ago

Did they end up shipping a memory unsafe compiler?

1

u/lisp_turns_me_on 3d ago

Do you foresee working on vale.dev in future? Or is it abandoned now? I really loved the posts there.