# Bun Switches from Zig to Rust: Why a High-Performance JS Runtime Changes Its Language

- Link: https://twitter.com/jarredsumner/status/2053047748191232310
- Discussion: https://startupxo.com/en/345/
- Posted by mrlatte at 2026-05-10T10:00:00.000Z
- 1 point, 0 comments, kind story, origin archive
- Written in ko, machine translated to en

## Summary

- Bun creator Jarred Sumner announced that the version rewritten in Rust passed 99.8% of the existing tests.
- Zig was initially chosen because it made handling JavaScriptCore easier, but the lack of a package registry and fewer developers available to recruit eventually became a bottleneck.
- This is an example showing that choosing an unfamiliar language based solely on initial performance can lead to the cost of rewriting everything as the team grows.

## Comments (0)

No comments yet.

JSON: https://startupxo.com/api/v1/item.json?id=345&lang=en
