Roc's Rust-to-Zig compiler rewrite hits feature parity
How Our Rust-to-Zig Rewrite Is Going
After 487 days, Roc's 300K-line Rust compiler rewrite in Zig reached feature parity. A demo game now compiles to a 31KB wasm binary, less than half the original size. The new compiler adds hot code loading during dev and reproducible cross-compilation. The team says this was a redesign, not a direct port, so direct Rust-vs-Zig comparisons don't apply. No formal release yet; v0.1.0 is planned later this year.
Why it matters: Roc's team spent 487 days rewriting a 300,000-line Rust compiler in Zig, matching features and cutting wasm size to 31KB.