Bun
More info
- Creator
- Jarred Sumner
- Released
- Owner
- Oven
- Type
- JavaScript runtime
- License
- MIT
- Website
- bun.sh
- Source
- github.com/oven-sh/bun
- Wikipedia
- en.wikipedia.org
JavaScript runtime. Jarred Sumner, 2021 (v1.0 Sept 2023). Built in Zig, uses JavaScriptCore (Safari engine) instead of V8. Drop-in Node.js replacement: bun run app.js, bun install. 4x faster startup, 2x faster package install.
Three-in-one: runtime + package manager + bundler. Built-in test runner, env loader, SQLite driver, SQL driver, WebSocket server. Wide Node compat — most npm packages work unchanged. Performance tests: ~70k req/sec HTTP server (3x Node). Adoption growth curve steep — many projects switch for performance + DX. Modern stack: Bun + Elysia + Drizzle. Trade-offs: smaller ecosystem than Node, occasional edge cases. Modern alternative runtimes: Deno (Ryan Dahl, 2018), Node (LTS incumbent). Bun focus: speed + DX.