Remix.run Logo
▲ 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

▲lolakutty 22 minutes ago | parent | next [-]

Rust's syntax is horrible not because of the braces. But due to the type system information the code has to carry. And the type system, unlike something like Haskell, is not always smart enough to infer the types from the context. Which cause even more noise in the form of type hints!

Add to that the horror of life time annotations, you really have a mess at your hands. I have seen projects litter clone everywhere just to sidestep this mess.

▲simpsond 28 minutes ago | parent | prev [-]

It’s subjective. Some folks think lisps are it, others basic. Folks need to accept that we do not need global alignment on what good syntax means.

▲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.

▲lolakutty 30 minutes ago | parent [-]

>Thus, the agent needs to iterate less.

I mean, I didn't meant to run the LLM every compile cycle. May be just before a release or something..