A from-scratch C++ Ethereum virtual machine, compiled to WebAssembly and running
for real in this page — hand-rolled 256-bit arithmetic, gas metering,
nested calls, and a journaled world state. It passes
585/585 official Ethereum VMTests.
source on GitHub
speed12/s
press ▶ — or pick a story above
the wall (bytecode) —
finger at pc ·
grey = push data (eaten, not executed) ·
green = real jump bookmark
pile of slips (stack) · top first
empty
stamps (gas)
the receipt book & bulletin board (journal / logs)
state changes and posted notices appear here as they happen
world state after execution
—
Mental model: each executing frame is a clerk in a business's office — the
bytecode is the wall, the stack is a pile of slips, memory is the desk, storage is
the filing cabinet, gas is a stamp budget. CALL dispatches a sub-request
to another business — a new clerk, same country. Every world-state write files an
undo receipt; a failed call tears up its receipts.