Pause
Step
Reset
V8 / JS ENGINE CONTEXT
WASM LINEAR MEMORY (SHARED)
ZERO-COPY TRANSPARENT WINDOW
ZIG NATIVE RUNTIME
onClick()
write(val)
same memory
flush()
React Component
User interacts with UI
triggering an event.
State Dispatch
State updates and prepares
data for WASM.
TS Uint32Array
JS typed array view over
the shared memory buffer.
Zig Native Mem
Zig reads exact same bytes
without copying overhead.
Terminal Stdout
Native logic processes
and outputs the result.