OpenCode cuts memory 41% and OpenClaw starts 3.1x faster with Bun AoT

steipete · x · 2026-11-10

Benchmarks comparing Bun ahead-of-time compilation (bun compile) against Bun JIT and Node v26 (Linux x64, 12 cores, medians of 10+ runs):

Takeaway: long-running AI coding CLIs/gateways can get big startup and memory wins from Bun AoT. opencode's AoT build shipped to npm the same day; the underlying Bun work is still experimental (oven-sh/bun#48120).

Original post →

More from coding & agent

coding & agent channel →