Bun: The Fast JavaScript Runtime
summary
Bun is a JavaScript runtime and toolkit that replaces layers like libuv by using JavaScriptCore and rewriting host APIs and the scheduler in Zig, enabling direct system calls and fewer marshaling hops. Benchmarks show bun install 7× faster than npm (up to 4× vs pnpm, 17× vs yarn) and bun run starts about 4× faster than Node. Built‑in bundler, test runner, package manager, SQL and S3 clients, TypeScript/JSX stripping, and single‑file executables make it incrementally adoptable and focused on startup and IO speed.
AI-written summary · about
chapters (9)
- 0:00Bun introduction
- 1:49Slow JavaScript tooling
- 3:14Bun vs Node.js
- 7:08JavaScriptCore and Zig
- 9:57Event loop and control
- 10:37Built-in dev tools
- 11:42Live Bun demo
- 17:34Production adoption
- 19:21Q&A
related talks
25mBun, Forrest, BUN!!
19mat the speed of
16mFreshly Toasted: How Bun stable version is Heating Up JS & TS Development
45mBun vs Node: Which Is Really Faster?
10mHow Bun Makes Building React Apps Simpler & Faster
03mBun + Vite
22mBun, Deno, Node.js? Recreating a JavaScript runtime from Scratch
49mBun, Deno, Node.js? Recreating a JavaScript runtime from Scratch
