cairo-rs VM keeps growing 😎 We are currently adding support for the VM to be used by and interact with existing #StarkNet code and execute user-defined Python hints. github.com/lambdaclass/ca…
2
21
80
0
7
To achieve this we are using the PyO3 crate which provides Rust bindings for Python, allowing us to share structures and functions between our VM and a Python context. pyo3.rs/v0.17.1/
Our main use cases for PyO3 are to allow us to run hints written in Python by sharing our VM state with a Python context during our Rust VM execution, and also to be able to instantiate and run our VM from Python, by importing it as a Python module.