Jarred Sumner (@jarredsumner) on X

X (formerly Twitter) ·

1 min read Original article ↗

@jarredsumner

since a lot of people asked re: zig vs rust compile times End-to-end in CI, Bun today compiles ~3.4x faster than before the Rust rewrite. This is end-to-end, including C++ compilation, switching full LTO -> thin LTO, and cross-compilation on Linux.

Build jobs only. Median of 13 passed main builds each side. Zig = May 8–12 (#52757–#53879). Rust = Aug 18–20 (#100303–#101647). Wall = job scheduled → finished. Test jobs excluded.

| lane                  | Zig (May) | Rust (now) | faster   |
| --------------------- | --------: | ---------: | -------: |
| linux-x64             | 30m06     | 5m37       | 5.4×     |
| linux-aarch64         | 29m04     | 5m22       | 5.4×     |
| linux-x64-musl        | 30m01     | 5m25       | 5.5×     |
| linux-aarch64-musl    | 29m08     | 5m23       | 5.4×     |
| darwin-aarch64        | 14m51     | 5m30       | 2.7×     |
| darwin-x64            | 15m48     | 5m36       | 2.8×     |
| windows-x64           | 15m27     | 6m00       | 2.6×     |
| windows-aarch64       | 17m35     | 6m39       | 2.6×     |
| freebsd-x64           | 14m26     | 6m05       | 2.4×     |
| freebsd-aarch64       | 14m02     | 6m10       | 2.3×     |
| linux-x64-android     | 14m52     | 6m29       | 2.3×     |
| linux-aarc

1:58 AM · Aug 21, 2026120.1KViews