PyCon India 2025

Waspy: Python to WASM compiler
2025-09-15 , Track 1

Waspy is a Python to WebAssembly compiler written in Rust that translates Python functions into optimized WebAssembly bytecode. The project enables developers to run Python code in web browsers, edge computing environments, and any WebAssembly-compatible runtime with near-native performance.

Who can contribute:
- Rust developers (compiler implementation, optimization)
- Python developers (language feature testing, examples)
- WebAssembly experts (runtime optimization, standards compliance)
- Documentation writers and example creators
- Anyone interested in programming language implementation


Setup Steps

  1. Clone the repository:
git clone https://github.com/anistark/waspy.git
cd waspy
  1. Build the project:
just build

or alternatively for unoptimised dev build:

cargo build
  1. Run examples to verify setup:
just examples

or individually:

cargo run --example simple_compiler

Important Links


Prerequisites Additional Resources

https://github.com/anistark/waspy

Target Audience

Intermediate