Bun's AOT syntax proposal meets pushback: scriptc says types beat new syntax for perf

cramforce · x · 2026-11-10

Bun creator jarredsumner argues that for TS/JS to reach performance closer to Rust/C than Go, new syntax will likely be needed; Bun AOT is a drop-in for existing code today, with non-breaking additions proposed later.

cramforce pushes back, citing scriptc: they started with types that don't change semantics but express invariants TS cannot enforce. His claim: this beats new syntax — the program still runs in a JS VM with identical semantics, while the generated AOT code is much better. A substantive exchange on two routes to JS performance.

Original post →

More from coding & agent

coding & agent channel →