Live data from Hacker News

The Next Big Step in Mojo Open Source

modular.com

21–25 of 25 posts

Re: The Next Big Step in Mojo Open Source

#21

Is anyone else surprised at the straightforward collections implementations? From reading this site (and leetcode interviews) I expected to find advanced data structures under the hood. This is not a negative comment, I'm pro Mojo, just wondering who the heck is using the fancy stuff we get quizzed on in interviews if not stdlib devs.

They're used only as needed. Which is to say, rarely.

Eg. A database might store its index in a B-Tree, or other "similar" data structure. For example, you can see RocksDB using "fancy" structure to store its data [0].

[0] https://github.com/facebook/rocksdb

Re: The Next Big Step in Mojo Open Source

#23
post #16

Mojo feels like a great fit for so many domains outside of AI. It could be a killer general purpose language. It's easy to read and write, offers memory safety without RC or GC or even much mental overhead, will (eventually) be a superset of Python, and it's very performant already. So far I've been hesitant to invest more time in it when it's pitched as "the programming language for all AI developers", when it's dis…

The memory management approach is basically the same as in Rust, according to the docs[0]. Merging Rust and Python into a single language sounds like a very challenging project, with "eventually" being far into the future at best. [0] https://docs.modular.com/mojo/manual/values/ownership

Right, but with improved ergonomics that make Mojo easier to learn and write than Rust, the biggest difference being “borrow by default” as described here:

https://www.modular.com/blog/mojo-vs-rust-is-mojo-faster-tha...

Re: The Next Big Step in Mojo Open Source

#25
If people from the Mojo team are here, I’m curious what the arguments were against focusing on improving the Julia ecosystem and instead building Mojo? Julia solves the multi-language problem pretty well now and already has lots of great ML libraries that could use greater support.

Edit: nevermind, realizing from the a YouTube video linked in the comments that they viewed Python compatibility as a non negotiable

Post reply on HN