Parent: #459 Depends on: #460, #461, #483
Goal
Make WebAssembly a native, optimizing execution engine that wins every directly comparable accepted JSC row while preserving the complete ten-profile conformance matrix.
Measured boundary
The July 18 SIMD matrix records zig-js at only 0.10–0.14x JSC throughput at eight independent contexts. The current implementation executes fixed-width SIMD through portable architecture-independent code. Threads are correct but contended CAS drops to 0.54x one-worker scaling at eight workers, and wait/notify scaling is irregular.
Child workstreams
- #487 — native baseline compiler
- #488 — architecture-native fixed-width/relaxed SIMD
- #489 — optimizing compiler and memory/call/loop specialization
- #490 — native shared-memory atomics and wait/notify scaling
Non-negotiable contract
- Keep the 151,802/151,802 applicable-command ten-profile matrix, zero hidden skips, bit-exact NaN/trap behavior, JS API semantics, streaming compilation, GC/reference types, exceptions, tail calls, multi-memory, memory64, threads, and no-GIL safety.
- Use only owned Zig code and the #483 backend. WABT/wasm-tools/upstream corpora remain pinned test-data producers/oracles, never runtime/build dependencies.
- No module/export/source recognition, precomputed benchmark result, skipped bounds/trap/atomic semantics, or JSC-derived implementation.
Completion gate
- Every child completes its semantic, sanitizer, backend, profile, and evidence gates.
- Integer, float, shuffle, and memory SIMD rows meet or exceed JSC at one and eight contexts on declared reference hardware.
- Scalar, call-heavy, allocation/GC, exceptions, memory growth, memory64, multi-memory, and JS↔Wasm boundary rows in #460 also meet their declared gates.
- Threads/atomics scale according to #490 without weakening the Wasm memory model.
- Compile/instantiate latency, code bytes, RSS, and cold/warm behavior are published with throughput.
- All claims come from clean raw artifacts and exact runner/module commits.
Foundation
#141/#142/#264/#283/#284–#288/#305/#366; SIMD publication commits 880e4535 and be438ae0.