logoalt Hacker News

lolakutty • today at 12:43 PM • 3 replies • view on HN

> when you can write it in Rust..

Because fuck borrow checker..(and the horrible syntax)


Replies

felipellrocha • today at 12:56 PM

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

➕ show 2 replies
BadBadJellyBean • today at 12:55 PM

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 • today at 12:54 PM

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.

➕ show 1 reply