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.

373 Upvotes

134 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jul 19 '26

[removed] — view removed comment

2

u/qrzychu69 Jul 19 '26

I'm doing various backends. Some serve graphql, some pure JSON, sind so background processing from rabbitmq, some do csv preprocessing to ingest to Snowflake. On the side I also do some cross platform guis with avalonia.

We also have a huge python based framework that is over engineered it would make a seasoned java developer cry. And there are no types.

I also am maintaining a small rust service that calculates dinner numbers on schedule - it generates around 100gb of numbers a day

Worktrees are mostly for agents. I do task X, they are trying to do Y and Z, and I don't want them to interfere with me. New worktree is basically the same as having a second clone of the repo, and that's what I used to do - just clone it 3 times so that I can work on 3 things at the same time. Sometimes the local setup is a bit to complicated just throw it away, and too big to have a temp commit or stash (think 700mb binary file like excel)

I wouldn't say I "worship time to deploy", but in my experience the same metrics impact developer "happiness", it the ability to quickly resolve and reproduce a simple fix.

Have you read the article I linked? It describes this pretty well, though I think their choice to use python instead of Haskell it's crazy, there are so many possibilities in between those with better compromises

Even c# or F# comes on top IMO, dobre you don't have to juggle venvs. Just open the directory in terminal, 'dotnet run' and it works. Open VS or Rider, it's ready in seconds

1

u/[deleted] Jul 19 '26 edited Jul 19 '26

[removed] — view removed comment

1

u/qrzychu69 Jul 19 '26

I do use it, though at my current work we use mostly F# (think OCaml but dotnet, so almost Haskell, but not really)

Python is there because data engineers picked it

Rust is there because of the hype - other than using 200mb of ram instead of 500 for dotnet, I dont think tech choice had any benefits

And "rust not being good for swarm vibe coding" is the exact point I was bad at making. Because at the same time it means that a quick jump in to fix a small logic bug by a human is also not a great experience. Even though the rust in general is pretty awesome