Re:Bun is being ported from Zig to Rust
by Petersipoi on Monday May 04, 2026 @11:46PM
(#48017827)
Bun is the largest project written in zig. And it isn't close. Bun is bigger than zig itself. Seems like zig isn't mature enough to handle Bun's needs, so I don't blame them at all for looking for off ramps. Only time will tell if rigidity from the zig team is worth the cost of losing Bun. It might be.
Re:Bun is being ported from Zig to Rust
by toshinoriyagi on Tuesday May 05, 2026 @01:30AM
(#48018434)
Zig won't be affected by Bun potentially moving to Rust, the language has been growing rapidly and one of the main proposals of Zig is "maintain it with Zig". It's ability to integrate with existing C code bases, as well as be a drop-in build replacement, has widespread use.
In addition, the link in the comment you replied to explains why the PRs Bun opened to Zig would have lowered the quality of the compiler and how Zig has achieved even greater speedups, with more widely applicable features like incremental compilation and the self-hosted backend.
It is definitly worth it, and moving to rust because compile times are too slow ?
This can't be the main reason for the switch
Re:Bun is being ported from Zig to Rust
by anymouse123456 on Wednesday May 06, 2026 @08:42AM
(#48035551)
Indeed. Rust compile times are shockingly bad, especially compared to Zig.
[1] https://ziggit.dev/t/bun-s-zig-fork-got-4x-faster-compilatio...