Remix.run Logo
setopt 2 days ago

Very exciting. Closed source was one of the main things making me not try it out yet.

Any good resources for getting started? And anything on doing NumPy/SciPy-like stuff in it?

totalperspectiv 2 days ago | parent | next [-]

https://mojolang.org is the best spot for getting started generally. numojo is the closest thing to numpy right now. You can check out more packages here: https://github.com/modular/modular-community/tree/main/recip...

MohamedMabrouk 2 days ago | parent | prev [-]

NuMojo is the closest thing in the ecosystem to numpy and the final aim is offer numpy-like experience. https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo

vovavili 2 days ago | parent [-]

Can't you just use Numpy directly in Mojo?

MohamedMabrouk 2 days ago | parent [-]

you can but through a python interpreter in the mojo process so you get the same numpy speed with mojo<->ptyhon interop overhead. NuMojo is native and also is now starting to support features that numpy can't really do like native GPU execution.

vovavili 2 days ago | parent [-]

I wonder if the Python-to-Mojo overhead is significant enough where language-native bindings make more sense. I'd be interested in seeing some benchmarks.