progval
pythonvm-rust
Rust

An incomplete stackless interpreter of Python bytecode, written in Rust.

Last updated Feb 6, 2026
82
Stars
10
Forks
2
Issues
0
Stars/day
Attention Score
12
Language breakdown
No language data available.
โ–ธ Files click to expand
README

pythonvm-rust

Build Status

A Python virtual machine, written in Rust.

Status

This project is inactive. Check out RustPython instead

Features

  • prints strings to stdout
  • basic exceptions
  • for loops
functions, positional arguments, keyword arguments, args, **kwargs
  • useable as a library
  • a fine-grained sandbox

Goals

  • 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

Dependencies

  • CPython 3.6 (used as a parser and bytecode compiler).
  • Rust
  • Cargo

Try it

  • git clone https://github.com/progval/pythonvm-rust.git
  • cd pythonvm-rust
  • python3 -m compileall -b pythonlib examples
  • cargo run pythonlib/ examples/helloworld.pyc
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท progval/pythonvm-rust ยท Updated daily from GitHub