Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Operating systems Remove topic Operating systems Clear all 1 posts RSS

Wednesday, Sep 10, 2025

Bun

Behind The Scenes of Bun Install

Deep dive 32 min +320 XP

Bun's package manager installs dependencies roughly 7× faster than npm, 4× faster than pnpm and 17× faster than yarn because it treats installation as a systems programming problem: the bottleneck on modern NVMe hardware is system call and thread-coordination overhead, not I/O wait. strace benchmarks show bun making ~166k syscalls versus ~1M for npm and ~4M for yarn, with almost no futex contention, because its Zig code calls the kernel directly instead of going through Node's libuv thread pool.

The quest for software engineering knowledge.

Look:
Layout: