gabagool

WebAssembly interpreter whose execution state can be snapshotted and resumed

Image 1 of 1: Several forked Game of Life windows, each resumed from a snapshot in a new process

A from-scratch WebAssembly interpreter in no_std Rust that lowers instructions into a compact, serializable IR, so a running program can be suspended, written out and resumed in a fresh process, with a virtualized WASI snapshotted alongside and an experimental copy-and-patch JIT.

  • 96%Spec conformance

Trade-offs

  • Staying a pure interpreter with a serializable IR keeps every bit of state snapshot-friendly, at the cost of speed: no serious profiling has been done, and a JIT has to preserve that model.
  • Being no_std means it never touches the host OS, so WASI is a virtualized layer whose state is captured with the interpreter rather than a pass-through to real files and clocks.

Q&A2

A Game of Life program where each fork snapshots the entire WebAssembly execution state, spawns a brand new process and resumes exactly where it left off.

Reviews

Loading reviews

    More in WebAssembly

    See all 16 →
    • MPEEOffline routing and vehicle-routing optimization in one Rust engine
    • dbxliteBrowser SQL workbench on DuckDB for local files, BigQuery and Snowflake
    • ExtrudoParametric CAD for 3D printing that runs offline in a browser tab
    • trynixBoots any package from 13 years of nixpkgs in a browser tab
    • kube32Kubernetes-compatible control plane for ESP32 microcontrollers
    • Ely GPUI ComponentComponent library for GPUI, Zed's Rust UI framework, in light and dark

    More in Compilers

    See all 13 →
    • XSProgramming language with its whole toolchain in one static binary
    • ddcAndroid DEX to Java decompiler with a javac parse gate
    • TheseusA compiler that turns DOS and Win32 executables into Rust source
    • ArityLanguage server, formatter and linter for R
    • SharpTSTypeScript interpreter and ahead-of-time compiler to .NET IL, written in C#
    • KillSwitchEsoteric language built to be impossible for LLMs

    More in Developer tools

    See all 88 →
    • EpuppBrowser extension that opens a live ClojureScript REPL into any web page
    • ResonanceA local-first API client with no account, collections kept as YAML files
    • PandiaDesktop JSON editor for multi-gigabyte files, with the document held in Rust
    • PandaWardLocal application security assessment that reports what it couldn't decide
    • ScalexScala code navigation for coding agents, from source and without a build
    • polyOne Rust binary that lints and formats about 30 languages