ModularM
Modular3y ago
9 replies
denden

Will imported python modules eventually be compiled by Mojo instead of relying on the python env?

I understand that currently imported python packages run on the CPython interpreter which will require a compiled Mojo program to run with the same python environment in which it was complied (same installed packages etc).

Will the need for this go away once Mojo is a true superset of Python. IOW, will the imported python module get complied just as if the Python code was written directly in the Mojo program?
Was this page helpful?