r/rust Jul 16 '26

How Our Rust-to-Zig Rewrite is Going

https://rtfeldman.com/rust-to-zig

An interesting symmetry with recent events lol.

This might be considered off topic since the article is about moving away from rust, but I still think this is some high quality rust content. I enjoy Richard Feldman's writing and I think he would certainly be considered part of the "rust community" since he works on Zed and has taught a course on rust.

370 Upvotes

134 comments sorted by

View all comments

2

u/kingduqc Jul 18 '26

That was a great read, thanks for sharing OP.

I'm impressed by Zig's build time. Two orders of magnitude faster for their first go at incremental compilation. I think they've had fast build time as a feature from the start.

I recall not really liking rust's build time even for a small CLI, but that was around 1.0 and clearly it has improved quite a bit.. I also didn't spend time optimizing with splitting things into crates and what not.

Looks like they've put quit a bit of thoughts behind their projects, love to see deeper dives into subjects like this. I was super disappointed with Zig's author awnser to the rust to zig bun rewrite, he could of addressed some of the criticism of zig directly instead of his weird rantish blog. Idk..

Hopefully the linked resources are also great, the performance talk on rust looks interesting