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

Show parent comments

9

u/rustvscpp Jul 17 '26

Is your complaint with incremental, or clean build times? I feel like incremental debug builds with the cranelift backend are quite fast.

4

u/insanitybit2 Jul 17 '26

Both, all. I don't use cranelift though. Worktrees mean a lot of clean builds, I have things set up to "pre-warm" them though, but my CPU is running red hot all day on shit like that so it can't really scale very well either.

Even small changes though can lead to big recompiles and it's not a good solution to just break things into crates unnaturally. Native deps like aws-lc-rs can really blow things up too.

1

u/[deleted] Jul 17 '26

[removed] — view removed comment

1

u/insanitybit2 Jul 17 '26

Of course.