The 2.3x build lead comes from a single backend benchmark on AWS Graviton3, reported by TechNewsDaily: Zig 0.14 finished a clean compile in 18 seconds and Rust took 42 seconds, while Rust served 892,000 requests per second to Zig’s 812,000 in the same test. On stars, rust-lang/rust stood at 121.8K and ziglang/zig at 43.3K on 12 November 2026 according to the rust-lang/rust repository page and, for Zig, the ziglang/zig repository page, a gap of 2.8x, wider than the 2.7x TechNewsDaily gave for August 2026 (115,000 against 43,000). The short verdict: Zig suits work that is bound by build time or by explicit memory control, and Rust suits throughput-bound, long-lived services. The sections below show what each number measures, and the table at the end sorts workloads.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
24 seconds per clean build: what the 2.3x is worth to a pipeline
TechNewsDaily gives one figure per language for the Graviton3 backend benchmark: 18 seconds for Zig 0.14 and 42 seconds for Rust. Dividing 42 by 18 gives 2.33, which rounds to the 2.3x in the headline, and Zig used about 57% less time. The absolute gap is 24 seconds per clean build, and that is the number to multiply by your own build count.
| Clean builds per day | Build time saved per day (24 seconds each) |
|---|---|
| 100 | 40 minutes |
| 1,000 | 6.7 hours |
| 10,000 | 66.7 hours |
The daily figures multiply the reported gap by a build count. If your CI bills by runner time, multiply the right-hand column by your own rate. Parallel runners shorten how long a developer waits, but they do not reduce the billed minutes.
TechNewsDaily’s article also says Go finished the same task in 3.2 seconds, well under both the 18 and 42 second figures. The 18 and 42 second figures are for a clean compile, as TechNewsDaily’s benchmark describes it. A developer’s edit-and-rebuild loop is an incremental build, which those figures do not measure. The Rust compiler team’s performance survey results put that loop in focus: average satisfaction with build performance was 6 out of 10, and 55% of respondents wait more than ten seconds for a rebuild, which the post calls “far from ideal”. TechNewsDaily also reports a 6 out of 10 build-performance score from Rust’s own community in a late 2025 survey, so the complaint does not come only from the Zig side.
Rust 1.100.0, released on 12 November 2026, changed two things that bear on build cost, so a build time measured on an earlier Rust release may not reflect them. The release post says different build configurations can leave several copies of libraries in the build directory, which “can lead to extra rebuilds, missed rebuilds”, and Cargo gained a warning about unused dependencies because building them “can slow down builds”.
Rust’s 892,000 req/s, a memory ranking that reversed, and a library test that runs from 0.79x to 1.02x
In the same Graviton3 test Rust served 892,000 requests per second against Zig’s 812,000. That is 80,000 more, so Rust is 9.9% ahead, or put the other way Zig delivers 91.0% of Rust’s throughput. If throughput scales with instance count, matching Rust’s load on Zig takes about 10% more capacity. Whether 24 seconds a build outweighs 10% more instances depends on how many builds you run against how many instances you serve with, so that comparison needs your own counts.
Sharkbench’s computation benchmark shows how unstable the memory comparison is. TechNewsDaily’s March 2026 snapshot had Zig 0.14 at 1.00 s and 1.1 MB, and Rust at 1.02 s and 584 KB. Sharkbench’s page, last updated 14 October 2026 and read on 12 November 2026, lists Zig v0.16.0 at 1.00 s and 1.1 MB, and Rust at 1.00 s and 2.9 MB.
| Sharkbench snapshot | Zig | Rust |
|---|---|---|
| March 2026, as reported by TechNewsDaily (Zig 0.14) | 1.00 s, 1.1 MB | 1.02 s, 584 KB |
| Page updated 14 October 2026 (Zig v0.16.0) | 1.00 s, 1.1 MB | 1.00 s, 2.9 MB |
The speed tie holds across both snapshots. Rust’s memory figure rose from 584 KB to 2.9 MB while Zig’s stayed at 1.1 MB, so neither language can claim a stable memory win from this benchmark.
The independent Zunic benchmark (the bench-vs-rust README in the vrypan/zunic repository) compares a Zig Unicode library with Rust using Zig 0.16.0 and Rust 1.97.1, with Zig in ReleaseFast for the native CPU and Rust in release for the native CPU with LTO and one code-generation unit. Its results vary by operation; line breaking lands between 0.79x and 1.02x, from Rust faster to Zig slightly faster. The author warns the tests are “not always comparing apples-to-apples”, so read it as a range, not a verdict.
Zig’s checks depend on the build mode, and Rust 1.100 closes part of the allocator gap
Zig’s language reference describes safety checks such as integer overflow and bounds detection as active in Debug and ReleaseSafe, and the same operations as “Unchecked Illegal Behavior in ReleaseFast/ReleaseSmall modes.” A Zig benchmark built in ReleaseFast has therefore dropped checks that a ReleaseSafe build keeps. Before treating a Zig throughput figure as like-for-like with Rust, find out which mode produced it, and rerun in ReleaseSafe if you plan to ship with the checks on.
The memory models also differ at the design level. Zig has no borrow checker; memory is managed through explicit allocators. Rust 1.100.0 stabilised “the core parts of allocator_api”, which lets library authors define custom allocators, but in that release only for Vec and Box. That narrows the gap for allocator-controlled code without removing it.
C interop has also changed in the current Zig series. The Zig 0.17.0 release notes say “@cImport was deprecated in Zig 0.16.0 and is now removed.” As of 12 November 2026, Zig 0.17.x therefore has no @cImport, and C translation needs a translate-c package dependency declared in build.zig.zon and build.zig. Advice that credits Zig with importing a C header in one line describes an earlier release.
Real-world Zig projects are also less uniformly Zig than their reputations suggest. The Ghostty about page, checked on 13 November 2026, says “On macOS, the GUI is written in Swift and uses AppKit and SwiftUI. On Linux, the GUI is written in Zig and uses the GTK4 C API”, with the shared libghostty core in Zig. The terminal is therefore not written entirely in Zig, and it is a poor example for a claim that a whole product can be Zig end to end.
The two toolchains are not strictly exclusive. The cargo-zigbuild project describes itself with the line “Compile Cargo project with zig as linker for easier cross compiling”, so a Cargo project can borrow Zig for linking when it cross-compiles. For a Rust project that ships on several platforms, our Tauri tutorial builds a cross-platform Rust app.
121.8K against 43.3K: a 2.8x star gap, and a Zig count that has stopped being clean
| Date and source | rust-lang/rust | ziglang/zig | Ratio |
|---|---|---|---|
| August 2026, TechNewsDaily | 115,000 | 43,000 | 2.7x |
| 12 November 2026, rust-lang/rust and ziglang/zig repository pages | 121.8K | 43.3K | 2.8x |
The ratios are 115,000 divided by 43,000 (2.67, the 2.7x TechNewsDaily states) and 121.8 divided by 43.3 (2.81). Zig’s change from 43,000 to 43.3K sits inside the rounding of the August figure. The rust-lang/rust repository page itself shows 121.8k stars, checked on 12 November 2026.
The Zig number is the weaker measure. The ziglang/zig repository on GitHub is headed “Moved to Codeberg” and says “This repository is not mirrored.” A star count that barely moves therefore reflects where development went as much as interest in the language. For scale, gittrend.io showed lightpanda-io/browser leading its Zig ranking on 11 November 2026 with 42.0k stars, close to the compiler’s own 43.3K.
Other popularity signals point the same way for Rust. TechNewsDaily reports Rust at #10 in the July 2026 TIOBE Index, up from #18 twelve months earlier. The 2025 State of Rust Survey, published in March 2026, collected 7,156 responses according to the Rust blog’s survey feed, checked on 12 November 2026. TechNewsDaily reports from the survey that 91.7% of respondents use Rust, 55.1% use it daily or nearly daily and 46% call it their primary professional language. That is a survey of people already in Rust’s community, so it shows satisfaction and adoption within it, not market share. The Stack Overflow 2025 Developer Survey is broader: it names Rust the most admired programming language at 72%, with Zig fourth at 64%. Admiration is the survey’s own measure of sentiment, so the 8 point gap between the two languages is a gap in opinion, not in usage.
The same survey page ties Rust’s growth to its build tool and package manager: Cargo is “the most admired (71%) cloud development and infrastructure tool this year”. That is again sentiment, but it is the one tooling score in this comparison where Rust’s build side comes out ahead in opinion, set against the 6 out of 10 build-performance rating above.
Bun’s port in 11 days, and what its 1.4.0 binaries actually saved
Bun’s own post dates the port from 3 May 2026 to the merge on 14 May: 11 days, 6,778 commits, and 0 tests skipped or deleted. TechNewsDaily reports that Jarred Sumner merged the rewrite of the Bun runtime, using Anthropic Claude coding agents to translate over a million lines of Zig.
Bun’s post on the port also reports results: “So far, Bun v1.4.0 fixes 128 bugs that reproduce in v1.3.14”, and runtime performance up 2 to 5%. The post presents the rewrite as following use-after-free bugs and memory leaks in the Zig codebase. These are Bun’s own claims about its own code, not an independent comparison of the two languages.
The size result is in the Bun v1.4.0 release notes, dated 20 August 2026, which ship Rust builds for Linux x64 and arm64, Windows and macOS. The notes say Bun “gets up to 17% smaller” on Linux and Windows. Computing each row from the sizes they list:
| Platform | Bun 1.3.14 | Bun 1.4 | Smaller by |
|---|---|---|---|
| Linux x64 | 88.5 MB | 77.0 MB | 13.0% |
| Linux arm64 | 87.6 MB | 76.8 MB | 12.3% |
| Windows x64 | 93.9 MB | 84.8 MB | 9.7% |
| Windows arm64 | 90.2 MB | 75.1 MB | 16.7% |
Bun 1.3.14 to 1.4.0 may include more than the language change, so the cut is a result for Bun itself, not a measure of Zig versus Rust binaries. What transfers is the process: a codebase of over a million lines moved in 11 days with no tests skipped or deleted, which shows a port is feasible when a large test suite exists to judge it.
Which release produced each figure, and how far each language has moved since
| Figure | Source | Versions named |
|---|---|---|
| 18 s vs 42 s clean build; 892,000 vs 812,000 req/s | TechNewsDaily, AWS Graviton3 | Zig 0.14 |
| Sharkbench, March 2026 | TechNewsDaily | Zig 0.14 |
| Sharkbench, updated 14 October 2026 | sharkbench.dev | Zig v0.16.0 |
| Unicode library comparison | vrypan/zunic README | Zig 0.16.0, Rust 1.97.1 |
| Latest releases on the project pages, checked 12 November 2026 | ziglang.org, blog.rust-lang.org | Zig 0.17.x series (0.16.0 was released on 14 April 2026); Rust 1.100.0 on 12 November 2026 |
The Zig 0.16.0 release notes describe 8 months of work from 244 contributors across 1,183 commits. The latest Zig series on 12 November 2026 is 0.17.x, and the Zig 0.17.0 release notes say that “working on a non-trivial project using Zig may require participating in the development process” and that Tier 1 support will gain a bug policy “when Zig reaches 1.0.0”, so Zig has not yet reached 1.0.0. TechNewsDaily adds that the team moved all package-management functionality from the compiler into the build system in mid-2026, so build scripts written before that change may need updating. Rust is on 1.100.0, and the Cargo and allocator changes covered above arrived in that release.
Mach, a Zig game engine and graphics toolkit, shows what a pre-1.0 language costs in practice. Its Zig version page says “Mach uses nominated Zig versions where we nominate a specific nightly Zig version to use every 6 weeks”, so it pins nightly builds instead of tagged releases as a workaround for breaking changes in the language.
The release rhythm, stability status and licensing of the two projects differ as well. The table sets out dates from the Rust releases page, the Zig news list and the Rust blog’s 2024 edition testing post, and licensing from the Rust licences page.
| Fundamental | Rust | Zig |
|---|---|---|
| Releases listed for the latest cycle | 1.99.0 on 1 October 2026, 1.99.1 on 15 October, 1.100.0 on 12 November | 0.16.0 on 14 April 2026, 0.17.0 on 2 October, 0.17.1 on 3 November |
| Gap between the two newest feature releases | 42 days (1.99.0 to 1.100.0) | 171 days (0.16.0 to 0.17.0) |
| Stability status | Rust 2024 edition stable since Rust 1.85 on 20 February 2025 | Not yet at 1.0.0: the Tier 1 bug policy arrives “when Zig reaches 1.0.0” |
| Licence | Generally dual-licensed under the Apache License, Version 2.0 and the MIT licence | MIT (compiler repository, per the GitHub organisation page) |
Rust also has institutional backing: the Rust Foundation’s about page, checked on 13 November 2026, names AWS as a Platinum Member with a Member Director.
On the Zig side, the Zig Software Foundation’s meeting minutes record that Synadia and TigerBeetle pledged $512,000 over two years, announced in late October 2025. The foundation also received about $170,656 from GitHub Sponsors in 2024.
Which workload leans which way
| Workload | Leans | Evidence and limit |
|---|---|---|
| Large CI matrix or heavy clean-build churn | Zig | 24 seconds saved per clean build in one Zig 0.14 test; confirm on your own code. |
| Network service sized by throughput | Rust | 892,000 vs 812,000 req/s; Zig’s ReleaseSafe numbers should be checked before treating the gap as like-for-like. |
| Rust project that needs easier cross-compiling | Rust with Zig as linker | cargo-zigbuild describes itself as compiling a Cargo project with zig as linker. |
| Long-lived service that needs a stable toolchain | Rust | Zig has not reached 1.0.0 (0.17.x series on 12 November 2026) and moved package management in mid-2026; Rust is on 1.100.0. |
| Work that must control every allocation | Zig for now | Explicit allocators are Zig’s model; Rust 1.100’s allocator_api covers only Vec and Box. |
| Porting existing Zig code to Rust | Feasible with a large test suite | Bun: 11 days, 0 tests skipped or deleted; its size gain is not a language comparison. |
Every figure here comes from someone else’s workload and the compiler versions in the table above, as of 12 November 2026; we ran no benchmark ourselves. Time a clean and an incremental build of your own project in each language on your own hardware, and run any Zig throughput comparison in ReleaseSafe as well as ReleaseFast before deciding. Teams weighing Rust against Go can use our Rust vs Go comparison.




