LANGUAGES ON WASM

Ruby.wasm Playground

A real CRuby 3.4 running on WebAssembly inside a Worker — write Ruby, run it, draw on the page, and poke at the WASI internals. Nothing leaves your browser.

Runs 100% client-side

00 · BOOT

VM boot

Waiting
  1. Download runtime (gzip)
  2. Compile wasm module
  3. Instantiate VM
  4. Load playground prelude
  5. Ready
booting…

Editor

Ruby stage

Stage — page toys draw & listen here

Session log

Boot the VM to start a session.

03 · UNDER THE HOOD

ruby.wasm feature matrix

Each check runs inside the live VM. Limits documented by ruby.wasm (threads, native sockets) are expected to fail — that is the finding, not a bug.

04 · WASI FILESYSTEM

Virtual filesystem

The WASI preopen mounted at /. Files Ruby writes appear here; write a file and File.read it back from Ruby.

  • Boot the VM first.
Select a file to view it.

05 · NOTES

What this proves