Exhibit 1
ABI Handshake & Version Negotiation
Before any runtime operation, Asupersync's WASM module performs a version handshake with a 64-bit fingerprint.
JavaScript
await init('./asupersync_bg.wasm');\nconst version = abiVersion();\nconsole.log(version);\n// → { major: 1, minor: 0 }
Live ABI Status
Click "Run" to see live results
Console Output
Exhibit 2
Structured Concurrency — Region Tree
Every task is owned by a region. Click any region to trigger cascading cancellation.
const root = rt.enterScope('http-server').value;\nconst reqA = root.enterScope('request-A').value;\nreqA.close();
Interactive Region Tree
RunningCancel RequestedDrainingQuiescent
Region Events
Exhibit 3
Four-Valued Outcome Algebra
Ok < Err < Cancelled < Panicked — severity lattice for algebraic error propagation.
JavaScript
Exhibit 4
Cancellation Protocol — Multi-Phase
Running → Requested → Draining → Finalizing → Completed
Shutdown Budget100%
Exhibit 5
Budget Algebra — Semiring Composition
Exhibit 6
Generation Counters — Use-After-Free Prevention
Console
Exhibit 7
Deep Cascade Close — Quiescence by Construction
Cascade Events
Exhibit 8
Cancel is Not Enough — You Must Join
Protocol Events
Exhibit 9 — Interactive
Live Runtime REPL
Type JavaScript below and it executes against the real WASM runtime.
REPL Output
›Ready. Type code and click Run.
Exhibit 10 — Stress Test
Chaos Mode — Zero Leaks Under Pressure
Operations
0
Peak Handles
0
Errors
0
Leaked
—
Chaos Log
Exhibit 11
Scope-Bounded HTTP
Exhibit 12
Outcome Severity Propagation
Exhibit 13
Cancellation Forensics
Exhibit 14
Handle Slot Recycling Heatmap
Exhibit 15
Sibling Scope Isolation
Exhibit 16
LIFO Slot Recycling — Deterministic
Exhibit 17
Handle Leak Detection
Exhibit 18
Scope-as-Timeout
Exhibit 19
Scoped Channel Lifecycle
Exhibit 20
Vanilla JS vs Asupersync
Vanilla JS — 22 lines
const controller = new AbortController();\nconst timer = setTimeout(() => controller.abort(), 5000);\ntry {\n const results = await Promise.all([\n fetch(url1, { signal: controller.signal }),\n fetch(url2, { signal: controller.signal }),\n fetch(url3, { signal: controller.signal }),\n ]);\n clearTimeout(timer);\n return results;\n} catch (err) {\n clearTimeout(timer);\n throw err;\n}
Asupersync — 6 lines
const scope = rt.enterScope('requests').value;\nscope.fetchRequest({ url: url1 });\nscope.fetchRequest({ url: url2 });\nscope.fetchRequest({ url: url3 });\nsetTimeout(() => scope.close(), 5000);
Exhibit 21 — Performance