Bun AoT cuts memory
In one test, an Express REST API also used 14% less CPU and had no JIT warm-up.

Bun, a fast JavaScript runtime, has a new ahead-of-time mode that compiles code before it runs. Its creator says big apps and command-line tools like Claude Code gain the most, while Fastify saw smaller gains and ran 4% slower.







