Port Mortem 2026 · Track H · JavaScript → Go

Not just compiled.
Defensible.

A clean-room, type-safe Go port of ljharb/qs, backed by a frozen oracle, deterministic differential testing, and evidence that keeps the regressions visible.

The demo compiles the repository's existing Go CLI to WebAssembly. No Node runtime or reimplementation runs in this page.

1045/1045 frozen upstream JS baseline
672,321 declared-scope comparisons
0 final observed differences
81.5% root statement coverage

Actual binary path · browser delivery

Query laboratory

Loading Go runtime…
UTF-8 · 4 KiB demo limit
Try a case

Tip: press Ctrl + Enter to parse.

CLI stdout
Waiting for the Go/WASM runtime…
Fresh Go/WASM instance per run Output is not sent anywhere

Why this port matters

Dynamic behavior,
closed Go model.

01

Representation before syntax

Ordered objects and explicit sparse-array slots preserve distinctions that ordinary Go maps and slices erase.

02

Evidence before adjectives

Source hashes, oracle handshakes, reachable corpus templates, raw benchmark samples, and exact limitations are retained in-repo.

03

Tradeoffs stay visible

Median cold start improved about 4.9× and peak working set fell 45.6%; measured parse latency regressions and the first-start outlier remain published.

Claim boundary

Zero differences is a scoped result.

The 672,321 comparisons cover the declared JSON-compatible dense subset across 32 parse and 24 stringify templates. The 1045/1045 figure is the frozen JavaScript baseline—not tests executed directly against Go. Tagged JavaScript-only values, callbacks, cycles, and an exhaustive one-to-one mapping of all upstream test blocks are deferred.

Read every limitation →