A Python virtual machine, written in Rust.
This project is inactive. Check out RustPython instead
- prints strings to stdout
- basic exceptions
- for loops
- functions, positional arguments, keyword arguments,
*args
,**kwargs
- useable as a library
- a fine-grained sandbox
- Compatible with CPython 3.6's bytecode, in order to take advantage of FAT Python
- Support CPython's implementation of the standard library
- No crash, even when messing with code objects
- Bytecode optimizations at runtime
- Less bounded by the GIL than CPython
git clone https://github.com/progval/pythonvm-rust.git
cd pythonvm-rust
python3 -m compileall -b pythonlib examples
cargo run pythonlib/ examples/helloworld.pyc