Are you afraid that you're going to "inherit" the issues the python ecosystem has through your goal of full compatibility? Or is Mojo more like Numba, in that only parts of python will actually be supported for full acceleration? At least your docs[1] seem to say so.. -- [1]: https://docs.modular.com/mojo/why-mojo.html#intentional-diff...
Agreed. I think this effort is completely missing the real pain points that ML suffers from. While python the language is easy, and in many ways great for its original purpose as a teaching language, I'll take note of the few ways that Python ML suffers: - pip hell. Really, having globally installed dependencies was great for the 90s and is terrible now that disk space is more or less a non-issue relative to dependen…
Mojo – a new programming language for AI developers
141–150 of 272 posts
Re: Mojo – a new programming language for AI developers
#142Reached end of docs. I'm sold. - Compile time language is ~ the runtime one. That's the model most systems languages seem to have ended up at. It doesn't have macros or reflection, but neither of those seem to be very popular - The struct/let notation and lifetime model essentially give you C++ semantics with saner syntax. The class/def notation essentially give you python semantics. This is a clean answer to the gra…
Re: Mojo – a new programming language for AI developers
#143Re: Mojo – a new programming language for AI developers
#144Earlier quoted context omitted.
Yeah funnily enough I think "no GC" would be a much better feature in Julia, which would make it a great language for real time applications.
You could do a lot worse than modern GC. For instance, in Rust, lack of GC may cause you to reallocate memory or use reference counting, both of which are likely slower than GC. For instance, building a tree in Rust will do a lot of reference counting, which is a lot of heap accesses.
This isn't true in most cases. If every subtree is only referenced by its (unique) parent, then you can use a standard Rust "Box", which means that during compilation, the compiler inserts calls to malloc() (when the Box is created) and free() (when the Box goes out of scope). There will be no reference counting — or any other overhead — at runtime.
Re: Mojo – a new programming language for AI developers
#145Earlier quoted context omitted.
Agreed. I think this effort is completely missing the real pain points that ML suffers from. While python the language is easy, and in many ways great for its original purpose as a teaching language, I'll take note of the few ways that Python ML suffers: - pip hell. Really, having globally installed dependencies was great for the 90s and is terrible now that disk space is more or less a non-issue relative to dependen…
Poetry and pipenv seem to be quite popular among ML researchers, especially those who care about reproducibility.
Re: Mojo – a new programming language for AI developers
#146Lemme know if you have any questions and I'll answer as best as I can. (I'm an advisor to Modulo.)
Re: Mojo – a new programming language for AI developers
#147Hi Jeremy Howard here. I pop up in the launch video to demo super-fast matmul and mandelbrot in mojo. I'm pretty excited about this language, to say the least - not just for AI/ML, but for pretty much everything! Lemme know if you have any questions and I'll answer as best as I can. (I'm an advisor to Modulo.)
Re: Mojo – a new programming language for AI developers
#148Hi Jeremy Howard here. I pop up in the launch video to demo super-fast matmul and mandelbrot in mojo. I'm pretty excited about this language, to say the least - not just for AI/ML, but for pretty much everything! Lemme know if you have any questions and I'll answer as best as I can. (I'm an advisor to Modulo.)
Re: Mojo – a new programming language for AI developers
#149Earlier quoted context omitted.
From their FAQ https://docs.modular.com/mojo/faq.html "Will Mojo be open-sourced? Yes, we expect that Mojo will be open-sourced. However, Mojo is still young, so we will continue to incubate it within Modular until more of its internal architecture is fleshed out. We don’t have an established plan yet. Why not develop Mojo in the open from the beginning? Mojo is a big project and has several architectural differences…
The problem with this is that you don't know what the licensing will be when/if they open source it. So you could start using it now and they might change their mind and choose not to open source it or it might be a restrictive license.
Re: Mojo – a new programming language for AI developers
#150Earlier quoted context omitted.
Their response to why it's faster to move while closed source seems kinda like a false dichotomy. They can choose to start with it open disallow input from the community or close their issue tracker to the community.
Why bother doing it that way? Just to entertain people who works like to observe the commit history as the language evolves?