> when you can write it in Rust..
Because fuck borrow checker..(and the horrible syntax)
As if C was any better than rust. So much clutter. So hard to grok with all the macros. I'd rather read rust than C.
So actually the answer to your question is that Rust provides excellent guardrails against memory safety issues, and in some cases, for code correctness as well, by allowing more behavior to be encoded in types. One of those guardrails is borrow checker.
Thus, the agent needs to iterate less.
I don't get the complaints about the horrible syntax. The syntax is fine... Which is weird cause I only get complains from c/c++ folk, and that set of languages have objectively AWFUL syntax