I finally gave in to the rust hype and built a new project in it (or my agent fleet did). Almost instant regret. My poor machine with just 2TB HDD and 24 cores was almost immediately crippled by agents each working in their own sandbox, each one building and compiling
Most projects my fleet works on are in other languages (TS, Go, Elixir) and can comfortably handle 10+ agents working in parallel, but not rust. I had to cap the fleet to 5 workers and build a dedicated resource monitor to step in and tidy up every time the disk almost filled up
That and general progress on building is far slower, with far more time spent building and testing than any other language I use.
Ended up rebuilding in Go, the perf gains weren't worth it
A couple recs for sccache, which is great, but I upgraded to mbx (<a href="https://github.com/jdx/mr-boxington/" rel="nofollow">https://github.com/jdx/mr-boxington/) which goes beyond sccache by wrapping cargo to give you better rust-specific management, including incremental compilation.
My harness control plane will autoconfigure mbx across all your machines, if you like. <a href="https://github.com/BrokkAi/mjolnir/" rel="nofollow">https://github.com/BrokkAi/mjolnir/
s08148692 · · focus · HN ↗
Most projects my fleet works on are in other languages (TS, Go, Elixir) and can comfortably handle 10+ agents working in parallel, but not rust. I had to cap the fleet to 5 workers and build a dedicated resource monitor to step in and tidy up every time the disk almost filled up
That and general progress on building is far slower, with far more time spent building and testing than any other language I use.
Ended up rebuilding in Go, the perf gains weren't worth it
jbellis · · focus · HN ↗
My harness control plane will autoconfigure mbx across all your machines, if you like. <a href="https://github.com/BrokkAi/mjolnir/" rel="nofollow">https://github.com/BrokkAi/mjolnir/