gitwtfhub

wtf is rustpython?

mu-hun/rustpython — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2019-12-17

RustAudience · developerComplexity · 4/5DormantSetup · moderate

TL;DR

RustPython is a Python interpreter written entirely in Rust from scratch, letting Python code run in new places like directly in a web browser via WebAssembly.

Mindmap

mindmap
  root((repo))
    What it does
      Reimplements Python
      Runs in browser
      Interactive shell
    Tech stack
      Rust
      WebAssembly
    Use cases
      Browser Python demos
      Learning interpreters
      Game engine scripting
    Audience
      Developers
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Run Python code directly in a web browser via WebAssembly with no server involved.

REASON 2

Embed a Python scripting engine written in Rust inside a game engine or educational coding platform.

REASON 3

Contribute to an actively developed interpreter project by picking up a beginner-friendly 'good first issue'.

REASON 4

Experiment with how a Python interpreter is implemented in Rust as a learning exercise in compilers and language design.

What's in the stack?

RustWebAssembly

How it stacks up

mu-hun/rustpython0xr10t/pulsefi404-agent/codes-miner
Stars00
LanguageRustRustRust
Last pushed2019-12-17
MaintenanceDormant
Setup difficultymoderatehardmoderate
Complexity4/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Still in development and does not yet support the full Python language, so some scripts may fail to run.

No license information was stated in the explanation.

Yoink these prompts

Prompt 1
Show me how to run a simple Python script using RustPython's online browser demo without installing anything.
Prompt 2
Install RustPython locally and show me how to start its interactive shell and run a basic Python file.
Prompt 3
I want to contribute to RustPython. Show me how to find a 'good first issue' and set up the Rust build locally.
Prompt 4
Explain how RustPython, written in Rust, is able to run Python code inside a web browser via WebAssembly.

Frequently asked questions

wtf is rustpython?

RustPython is a Python interpreter written entirely in Rust from scratch, letting Python code run in new places like directly in a web browser via WebAssembly.

What language is rustpython written in?

Mainly Rust. The stack also includes Rust, WebAssembly.

Is rustpython actively maintained?

Dormant — no commits in 2+ years (last push 2019-12-17).

What license does rustpython use?

No license information was stated in the explanation.

How hard is rustpython to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is rustpython for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.