Bootstrapping Bun
Summary
Bootstrapping Bun is a detailed narrative of building Bun's runtime and tooling from source without relying on prebuilt binaries. The author tackles packaging gaps across distributions, constructs a bootstrap workflow using CMake, esbuild, and alternative tools, and documents patching efforts, debugging challenges, and upstreaming patches for open-source collaboration.