Home

Awesome

The Rocket game, implemented in Rust, running in Python, via WASM

A Rocket game implemented in Rust is compiled to WebAssembly (WASM). We take the resulting .wasm file, and run it in Python using PPCI.

In this exercise, we take a wasm module as-is, inspect its imports and exports (WASM clearly defines these), and use this API to run the module in a Python app.