3 ms·
Yep, they already just work, Check the website or the demo in the launch video from Jeremy Howard. Also potentially interesting: https://docs.modular.com/moj
by chrislattner 3y ago
Yep, they already just work, Check the website or the demo in the launch video from Jeremy Howard. Also potentially interesting:
https://docs.modular.com/mojo/programming-manual.html#python-integration https://docs.modular.com/mojo/programming-manual.html#python...
https://docs.modular.com/mojo/notebooks/Mandelbrot.html https://docs.modular.com/mojo/notebooks/Mandelbrot.html
- JonChesterfield 3y agoIf that works with any libraries built on the CPython C API it would be worth calling it out in the docs - it currently reads like pure python or numpy work, but I assumed that was because you'd reimplemented numpy, not managed to dlopen it (and worked around those libraries relying on the GIL).
- JonChesterfield 3y agoFound said part of the docs at https://docs.modular.com/mojo/why-mojo.html#how-compatible-is-mojo-with-python-really https://docs.modular.com/mojo/why-mojo.html#how-compatible-i... notably > We utilize CPython to run all existing Python3 code “out of the box” without modification and use its runtime, unmodified, for full compatibility with the entire ecosystem