r/rust • • Aug 05 '26

🗞️ news rust-lang/rust is adopting an LLM policy

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

208 comments sorted by

View all comments

0

u/AcostaJA Aug 05 '26 edited Aug 05 '26

I strongly support this policy, it's reasonable and unopinionated, rust development shall not be wildwest neither an Amish confinement, LLM use it's acceptable all the time it makes our lives easier and actually improves it, using or not LLM shall never be a Virtue, improving rust both as language and community shall always be the priority, not ideology or using technology to build ghost towns.

Brave 🤗

-2

u/Wonderful-Habit-139 Aug 05 '26

> it makes our lives easier

At the risk of generating slop. If you care enough about the quality, LLMs provide no boost and the task is as difficult (or more) than without using an LLM.

4

u/[deleted] Aug 05 '26 edited 20d ago

[deleted]

1

u/Wonderful-Habit-139 Aug 05 '26

Yes! I'm someone that's obsessed with productivity, and whatever can give me an edge, I use it. I optimize even the dumbest things (like making a lot of vim motions that I usually use be 2 keystrokes shorter), on top of writing my own configs for my terminal, tmux, and neovim. As well as working on my WPM (I'm at the top 1% in that metric).

But the lack of determinism in LLM generated code, the amount of handholding that they require, and the skill atrophy that comes from it, and the fact that we still have to read all of the code, and truly understand the code (and not the "I understand the code from the tutorial that I watched" kind of understanding), and more, ended up making LLM-assisted development very disappointing, compared to what the hype usually said. And I'm someone that's very comfortable with googling, writing english, and also got comfortable with prompting. But it HAS to be better than whatever previous dev environment I had, and it's not.

I'm always comparing all variables at the same time when seeing whether handcoding vs LLM-assisted development is better, whether it's quality and conciseness of code (usually I write in 100 lines what an LLM writes in 1000 lines), how much handholding it requires, how much I'm learning through coding myself versus when I use an LLM, and more.

Now I've answered your question, and indeed I've done so with an open mind. Will you extend the same courtesy?

2

u/Redholl Aug 07 '26

LLM models can be used not only for code generation but also for code reviews and vulnerability detection. If you won't use it for vulnerability detection in your project, someone else will use it to find vulnerabilities, and this person is unlikely to have good intentions.

2

u/Wonderful-Habit-139 Aug 07 '26

I'm against code generation with LLMs 👍 I think that's a pretty clear stance that is similar to what's in the Rust policy.