An open API service indexing awesome lists of open source software.

https://github.com/simonrw/rust-python

Python bytecode interpreter written in Rust
https://github.com/simonrw/rust-python

Last synced: over 1 year ago
JSON representation

Python bytecode interpreter written in Rust

Awesome Lists containing this project

README

          

# Rust-Python

**WORK IN PROGRESS - DO NOT USE THIS CODE!!!!**

A python interpreter written in Rust.

## Outline

CPython has the global interpreter lock, which turns possibly concurrent
programs into serial programs. My understanding is that this is used to
ensure reference counts are accurate.

Rust has concurrent primitives such as
[`Arc`](https://doc.rust-lang.org/std/sync/struct.Arc.html) which handle
atomic reference counting.

Can we write a bytecode-interpreter that is concurrent?