Jorge Turbica / blog · Blog ← All articles ES · Leer en español
Languages

Repo of the day: blaze, rebuilds Rust in milliseconds where cargo takes seconds

blaze replaces cargo build in your local loop: after a one-function edit it rebuilds bun in 451 ms versus 9.11 s. The gains, the costs and the limits.

Change one function in bun, 1.25 million lines of Rust, and rebuild: 9.11 s with cargo build, 451 ms with blaze. That's the headline number from a project created on October 19, 2026 that already has 2,371 GitHub stars and gets commits every day. Its pitch fits in one README line: type blaze wherever you'd type cargo.

What it is

blaze is an incremental Rust compiler that runs as a daemon. The first build loads the project and compiles every crate without going through cargo or rustc; from then on it keeps the project compiled in memory and, after each edit, recompiles only the functions that changed and relinks the binary with its own linker.

Under the hood it builds on familiar pieces of the ecosystem: rust-analyzer's analysis and MIR, Cranelift for fast code generation, LLVM for the optimised tiers and salsa as the incremental engine. It's written in Rust and dual-licensed MIT or Apache-2.0. Until October 24 it was called ra-jit, which says a lot about where it came from.

It handles build, check, run, test and bench; the rest of cargo's commands aren't covered yet.

How to use it

The official install is a script:

bash
curl -fsSL https://ix.dev/blaze | sh

It runs on Apple silicon Macs and Linux, and downloads its own Rust toolchain (125 to 160 MB) the first time. It's a curl | sh, so I'd read the script before running it; the README links to crates.io and Nix alternatives. Then, in any project:

bash
blaze build   # like cargo build
blaze test    # like cargo test
blaze run     # like cargo run

There's a canary channel with the latest build and a stable channel that only gets releases that have built, rebuilt after an edit and passed the test suites of real projects such as cargo, zed, servo, bun and OpenAI's Codex CLI.

What I like and what I don't

I like how honest the numbers are. The repo description says "up to 92x faster", but the README gives averages: 10x faster on macOS arm64, 24x on Linux aarch64 and 11x on Linux x86-64 versus cargo build after editing a function. It also publishes per-project tables and a per-machine history, and it flags that those figures are from v1; v2 hasn't been benchmarked yet.

What keeps me from making it my daily driver right now:

  • It is its own toolchain. It always builds with blaze-2026-10-27, a nightly from that date, whatever your project pins. The README itself says cargo check and your CI should stay the final word.
  • It trades memory for speed: a few GB even for a small project.
  • Platforms: no Windows installer, and v2 hasn't been run there.
  • It's young: 443 open issues in under a month, and features like live edits (about 20 ms from saving to running the new code) belong to v1; v2 doesn't have them yet.

blaze vs cargo

blazecargo + rustc
ApproachDaemon that keeps the project compiled in memory and rebuilds per functionPer-crate incremental rebuild on every invocation
Edit one function in ripgrep (Linux x86-64)56 ms508 ms
Edit one function in helix116 ms2.15 s
ToolchainIts own pinned nightlyWhatever the project pins (stable or nightly)
PlatformsApple silicon macOS and LinuxEverything Rust supports
Commandsbuild, check, run, test, benchAll of them
MaturityUnder a month old, 443 open issuesThe official tool

When to use which: blaze makes sense in the local edit-and-test loop on big projects, where every multi-second rebuild breaks your focus, and always as an accelerator rather than a replacement. For release builds, CI and anything headed to production, cargo with the project's pinned toolchain is still the right call, which is exactly what the authors recommend.

Sources

Jorge Turbica

Software Engineer and SRE. I write about the real challenges I run into in production.

See portfolio ↗