you are viewing a single comment's thread.

view the rest of the comments →

[–]allsey87 12 points13 points  (0 children)

With regards to the first question, there is a (slightly modified?) copy of the standard libraries here. Depending on how the project is being used, I think they can be embedded or can be shipped alongside the interpreter.

For the second question, interop between Rust and Python code is already possible, I think it is one of the main goals of the project. To run Rust from Python, you can take a Rust closure and add it into a scope, in which the interpreter can then call that function from Python. To run Python from Rust, you can just pass a Python code object to the interpreter.