Remix.run Logo
n_u 8 hours ago

I've found it's ok at Rust. I think a lot of existing Rust code is high quality and also the stricter Rust compiler enforces that the output of the LLM is somewhat reasonable.

raincole 3 hours ago | parent | next [-]

Quite sure it's not about the language but the domain.

staticassertion 16 minutes ago | parent [-]

Agreed. When I've written very low level code where there are "odd" constraints ("this function must never take a lock, no system calls can be made" etc) the LLM would accidentally violate them. It seems sort of obvious why - the vast majority of code it is trained on does not have those constraints.

lemagedurage 6 hours ago | parent | prev [-]

Yes, it's nice to have a strict compiler, so the agent has to keep fixing its bugs until it actually compiles. Rust and TypeScript are great for this.