Bun AOT compiler tested: 2-3x faster, half the memory, 89MB binary cut to 25MB

steipete · x · 2026-10-27

Peter Steinberger tested Bun's new AOT compiler: 2-3x performance gains and less than half the memory use. Bun creator jarredsumner notes the new --trim flag strips unused runtime code — a Bun.serve HTTP binary shrinks from 89MB to 25MB on macOS.

Original post →

More from coding & agent

coding & agent channel →