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
- Host: GitHub
- URL: https://github.com/simonrw/rust-python
- Owner: simonrw
- License: mit
- Created: 2017-04-30T13:03:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-30T13:56:36.000Z (about 9 years ago)
- Last Synced: 2025-02-06T08:45:16.482Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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?