Skip to content
AI HOT (Curated Pool)

Bun rewrites from Zig to Rust to fix memory safety bugs

Bun 被 Anthropic 收购后用 Rust 重写,月下载超 2200 万

Jarred Sumner announced Bun is being rewritten from Zig to Rust. The trigger was a long list of use-after-free, double-free, and memory leak fixes in v1.3.14—mixing GC with manual memory management proved too error-prone. With 22M+ monthly downloads and adoption by tools like Claude Code, the team decided one-off bug fixes aren't sustainable. A pre-release Claude Fable 5 assisted the rewrite. The post does not disclose a migration timeline.

Why it matters: Bun creator Jarred Sumner announced a full rewrite from Zig to Rust after a batch of memory crashes and leaks fixed in v1.3.14 traced back to mixing garbage collection with manual memory management.

Read the original ↗Export Markdown