Hacker News new | ask | show | jobs
by Someone 357 days ago
FTA (emphasis added): “Chris Lattner mentioned that Python can actually CALL Mojo code now”

So, the message is that it is possible to create nice Python bindings from Mojo code, but only if your Mojo code makes the effort to create an interface that uses PythonObject.

Useful, but I don’t see how that’s different from C code coding the same, as bindings go.

Both make it easier to gradually move Python code over to a compiled language.

Mojo presumably will have the advantage that porting from Python to Mojo is much closer to a copy paste job than porting Python to C is.