Hacker News new | ask | show | jobs
by novacrazy 17 days ago
Kind of the same reason Rust works very well with agents, good error messages and strict type system. Harder to screw up for humans and bots alike.
1 comments

If only Rust had compile times of Go. I often find myself with multiple agents stalling, all waiting for the cargo lock.
waiting for the cargo lock is something else: cargo was not designed for multiple simultaneous entities developing in parallel

my take is, in the current state of the ecosystem, you should use https://github.com/kunobi-ninja/kache and make agente work on separate worktrees,each with their own target directory

usually separate target dirs means multi-gigabyte artifacts for each worktrees (and waiting for the same code to compile again). but not with kache, it builds only once and reduplicate files (with reflinks if your filesystem supports it)

there's also some projects for live reloading rust, and some specific tips about faster builds during iterative development (the most relevant being, use the mold linker)

Thanks. I have been using CoW for this but will see how kache compares.
Try C# as a middle ground. Compiles faster than Rust, runs faster than Go
C# and the CLR are great but the ecosystem is pretty much non existent outside of .NET
> Runs faster than Go

Citation is needed

There is Lisette, thats basically Rust for Go. Been amazing for our team, we are rewriting a legacy system in Lisette. So far so good!
The way Rust compile times can sneak up on you as your project grows is not to be underestimated. More so if you're running multiple agents in parallel.

But frankly I don't mind it as much with agents as I did when handwriting the code. It's on the agent to endure the slower feedback loop.

Youre looking for Moonbit