| ▲ | lolakutty an hour ago | |||||||||||||
> when you can write it in Rust.. Because fuck borrow checker..(and the horrible syntax) | ||||||||||||||
| ▲ | felipellrocha an hour ago | parent | next [-] | |||||||||||||
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 | ||||||||||||||
| ||||||||||||||
| ▲ | BadBadJellyBean an hour ago | parent | prev | next [-] | |||||||||||||
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. | ||||||||||||||
| ▲ | _flux an hour ago | parent | prev [-] | |||||||||||||
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. | ||||||||||||||
| ||||||||||||||