r/programming • • Aug 05 '26

The rust programming language is adopting a new contributing policy

https://blog.rust-lang.org/inside-rust/2026/08/05/rust-langrust-is-adopting-an-llm-policy/
628 Upvotes

132 comments sorted by

View all comments

Show parent comment

12

u/remy_porter Aug 05 '26

Ive gotten it to generate good code for stuff I don’t want to keep. Disposable code. None of the output I’ve gotten is anything I’d consider production ready. It remains unable to write anything truly modular.

And since a) reading code is harder than writing code, and b) I’m going to read all the AI generated code, it’s just more work overall.

6

u/hoodieweather- Aug 05 '26

Have you experimented much with how you prompt things, or using the various agent modes/skills like Claude's planning or the Superpowers skill set?

I fully believe that it hasn't produced anything production-ready for you, I'm not discounting that, I'm just curious because I have gotten code that I was comfortable shipping. Fully tested, fits the existing architecture of the codebase, handles edge cases and is easy to read and maintain.

I also primarily work with web tech, though, which I imagine it has by and large the best training for. I've found that when I need to dig into something like C++, it's a lot more hit or miss.

Edit: I also fully agree with your points about reading code, it's very difficult for me to just "trust" the LLM output. I've been trying to find reliable ways to do that (only reviewing tests, having verification points in the loop, etc.) but the reality is that LLMs, by nature, cannot be reliable, so it's tough.

5

u/remy_porter Aug 05 '26

I’ve dabbled. I think it’s very good at implementing features, but I’m of the mind that a good program is a domain specific language living atop the syntax of your implementation languages. So while it’s not bad at churning out a feature, I’ve never gotten it to build a vocabulary I’d want to use to extend the software.

0

u/hoodieweather- Aug 05 '26

I have definitely had to give it specific naming conventions and terms to use, because it'll pick things that just aren't clear or are too cute and clever.

Fortunately I've also had decent results with correcting it and having it apply the new guidance well, but that does also mean you have to have a good understanding of what it's actually producing, which goes back to the issue of needing to thoroughly read the code.

6

u/remy_porter Aug 05 '26

Naming conventions nothing. I’m talking the way it composes modules and passes data between subsystems. It tends to generate a lot of very large functions and classes with no real sense of composability outside of the feature being implemented right now.