frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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/
54•afdbcreid•2h ago

Comments

andsoitis•2h ago
In a nutshell: It's fine to use LLMs to answer questions, analyze, distill, refine, check, suggest, review. But not to create.
ares623•1h ago
Hmm, that doesn't sound too bad. So you basically get to use a tool to help with the tedious parts, without being allowed to use the same tool to pass off said tedium to others.

This closes the gap. A key insight. A load bearing difference.

Now, is writing code considered tedium, for a project like Rust?

seanhunter•1h ago
Yes, and I think the reasons set out in TFA are interesting, which on my reading are:

1) Code is the least interesting bit in some ways - they’re trying to build not only rust but a community of experts around rust which is able to maintain and improve it in the long term and the authors of prs need to understand the code deeply and show a willingness to be part of that long run. Llm-generated code even if it looks polished doesn’t indicate a human author who deeply understands it and is willing to be part of that long term maintenance.

2) They don’t have (and don’t want to enforce) a community consensus that llms are good or llms are bad. They just want some rules written down so everyone knows where they stand and people of either camp (and none) can get on with it.

Seems a pretty reasonable approach to me although I don’t really use rust much so don’t have a vested interest.

incrudible•1h ago
No codebase worth being deeply invested in is deeply understood by anyone, including the original authors. The eternal maintenance argument is tiresome. If there is a problem in need of fixing, you figure it out, you do not depend on some author being available, and LLMs are exceptionally helpful in this regard as well. Then, if the LLM has trouble figuring out, so will another human. It is a code smell.
zahlman•32m ago
There are all kinds of projects out there that have had significant impact on the world, which were written and maintained over the course of years by a single, highly capable developer. The way people talk about code nowadays, just because they have more powerful authoring tools, is frankly disgraceful. Imagine if modern construction techniques had become a reason to stop caring about the natural beauty of wood grain.
socalgal2•1h ago
Sounds like the beginning of the end of rust to me

AI is a jet engine - Banning is for creation is like saying "we require you to go by ship/car/propeller-plane"

Yes, a policy that says AI slop PRs will not be tolerated. But I've had AI track down real hard to find bugs in several projects and provide correct fixes. I've also had AI build new features and new products. The project that ignores this acceleration will eventually fall behind the ones that embrace it.

happyweasel•1h ago
"AI is a jet engine "

and rust just wants to ensure you are a capable pilot that can actually steer a plane before stealing everyone else's attention

ares623•1h ago
you're free to fork and improve it with your favorite harness. Go get 'em tiger.
imtringued•1h ago
Why does a language need higher developer velocity? Why is acceleration needed?

Acceleration makes sense for end user applications, where you're allowed to break whatever you see fit, but I don't see how it helps with core infrastructure like a programming language, where every mistake is multiplied a million fold.

Cthulhu_•36m ago
Exactly this. There's plenty of boring software out there where writing the actual code is a chore. That's where AI works pretty well, as long as the people at the controls understand and can explain the problem and non-functionals.

For projects like Rust, coding velocity is not the bottleneck, speed / productivity is not a priority.

duskdozer•47m ago
Creation is still allowed:

>Pre-arranged, non-critical, high-quality, well-tested, and well-reviewed code changes that are originally created by an LLM are allowed, with disclosure.

matheusmoreira•40m ago
It's technically an experiment, but it's definitely good to see they're keeping an open mind about this.

> Experiment: LLM-created code changes intended for review

> We leave space open to experiment with LLMs to inform future policies.

> This experiment is meant to inform future non-experimental policy, not to serve as the perpetual LLM usage policy.

minimaxir•2h ago
> Harassment is not allowed. You may not harass people for using an LLM, regardless of whether or not their use is banned by the policy. You must follow the Code of Conduct at all times when interacting with the Rust project.

This policy I like.

feverzsj•1h ago
You know rustaceans hate anything LLM when mods have to make this a rule.
LoganDark•1h ago
It's not "rustaceans" as one whole. It's a very vocal minority (both rustacean and not) that make it everyone else's problem that they don't agree with the AI industry as a whole. I've had people try to convince me that I'm destroying the planet by using LLMs just because the process of creating the LLM was harmful to the climate. But that's like saying software piracy harms sales. Maybe the argument has more merit for models hosted in the cloud, but I use local ones too.

There's a shameboard that curates a list of projects that don't explicitly and unconditionally ban all use of generative AI. Their term for projects that have a policy other than a total ban is "permissive" and it is treated as a sign to avoid that project/community. It's such a mess. Cancel culture is never the answer. I believe it is the right move to ban this completely unproductive and toxic kind of behavior.

duskdozer•31m ago
If you can understand that some behavior is toxic and should be banned, then you should understand the people behind "cancel culture." Alternatively, if you see "cancelling" "cancel culture" as not "cancel culture", then you can understand the paradox of tolerance, and why an idealistic fully tolerant approach is not possible either way.
satvikpendem•1h ago
Good rules but Rust already has AI code in its codebase now.
Cthulhu_•35m ago
Nobody's denying that, what is your point? Or are you assuming they're banning LLM code wholesale based on just the headline?
matheusmoreira•50m ago
The exact rules on LLM generated code submission live here:

https://forge.rust-lang.org/policies/llm-usage.html

https://rustc-dev-guide.rust-lang.org/llm-guidance/writing.h...

> Pre-arranged, non-critical, high-quality, well-tested, and well-reviewed code changes that are originally created by an LLM are allowed, with disclosure.

They clearly put a lot of thought into this and it shows. Huge respect.

> New contributors cannot create a PR using an LLM unless they first talk with a reviewer.

New contributors do not have community connections. I don't know any rust-lang/rust reviewer.

What is the correct procedure for this?

> Harassment is not allowed.

> You may not harass people for using an LLM, regardless of whether or not their use is banned by the policy.

Refreshing take. Not a fan of heavy handed moderation, but I'm still very happy to see that they have this stance given the racism-tier insults I've gotten on forums without it.

I especially like this rule:

> Don’t try to be the police for whether someone has used an LLM. You are not required to “actively look” for whether an LLM was involved.

pas•47m ago
> What is the correct procedure for this?

in general to work on something that will get "into the rust compiler" it needs at least an RFC and then a Major Change Proposal [0]

in practice it starts with asking on zulip [1]

[0] https://forge.rust-lang.org/compiler/proposals-and-stabiliza...

[1] https://forge.rust-lang.org/how-to-start-contributing.html

panstromek•38m ago
piokoch•47m ago
The question is: is such policy even enforceable? If someone is "clever" enough to drop em-dashes and some bold highlights how one would know if something is AI generated or not?
duskdozer•46m ago
> Some parts of the policy are unenforceable. This is not a bug. The goal is not to catch every violation, but to create a clear bright-line rule: Disclosure is required for all public LLM text, unless specifically exempted by the policy. This allows moderators to identify violations based on actions, not on intent, and only consider intent when deciding how to respond.
weli•15m ago
I really dislike every kind of rule that says something along the lines "if it's LLM generated you must self-disclose otherwise it is against the rules". Because this quickly leads to witch hunting and easy persecution of IC's under the pretense "it looks generated by an LLM" or they just investigate you and put you on cooldown from being able to contribute while they check for signs of "LLM-generated code". It's no different than laws giving any officer the right to violate your rights based on flaky probable cause "you have slurred speech therefore I will search your car to see any open containers". This can lead to a soft coup by anti-llm individuals which will make communities slowly drift towards a group of elitists that gatekeep any newcomer.
Cthulhu_•38m ago
I love how your analogy actually works with the real world. You can't fly a jet plane until you've got all the various licenses and logged flying hours in prop planes first.
matheusmoreira
•
27m ago
Banning someone is not the same as canceling them though.

Banishment is just enforcement of boundaries. It gets rid of a problematic person in a specific space where their behavior is not tolerated. It's about the community, not the banished. Once the troublemaker is gone, that's the end of it. Everyone goes back to their normal activities.

Cancel culture consists of people going out of their way to get a person banned everywhere else and even fired by their employers. People launch entire campaigns against the problematic person and make a concerted effort to ruin their life.

Assertiveness and agression.

LoganDark•14m ago
Cancel culture is specifically about disparaging groups or individuals, not merely condemning behavior. It has to do with targeted attacks, harassment and defamation. It's absolutely not the same thing as my comment, which merely points out the existence of some behavior and that I disagree with it.

What I'm talking about is the practice of following people around for using AI, rooting around for evidence that a project doesn't fully ban AI, etc. and publicly shaming them, harassing them, attacking them. People who do this don't accept neutrality or even mere skepticism, they demand full unconditional bans or else they make themselves a huge nuisance and try to harm you. That's cancel culture, plain and simple.

imtringued•58m ago
If you look at the Codeberg community, you'll find that this rule makes sense. The anti AI community is pretty toxic, probably more toxic than people throwing AI slop at reviewers.
matheusmoreira•30m ago
Lobsters too.
zahlman•30m ago
In my experience, anti-AI coders are nowhere near as obnoxious (or even outright harmful) about it as their artist/graphic-designer counterparts.
Asking on zulip is the good first step, yes. But RFC or MCP is only needed for bigger changes. Majority of changes will not need that, especially the ones contributed by newcomers.
Cthulhu_•41m ago
> What is the correct procedure for this?

Get involved with the project before submitting PRs, participate in discussions, etc. But if it's a change you want to contribute, don't use an LLM to write it.

matheusmoreira•36m ago
> But if it's a change you want to contribute, don't use an LLM to write it.

The rules I quoted say LLM code generation is allowed should the developer contact a reviewer first and they agree to review it.

My question was about the exact procedure and etiquette for contacting these reviewers. For example, Linux has a get_maintainer.pl people can use to figure out who to email should they want to contribute something.

Stateless MCP has recaptured my interest

https://simonwillison.net/2026/Jul/31/stateless-mcp/
162•tosh•4d ago•81 comments

"Gravity is worth asking about."

https://unsung.aresluna.org/gravity-is-worth-asking-about/
40•nozzlegear•6d ago•24 comments

The Pneumatics of Hero of Alexandria

https://www.thehopkinthomasproject.com/TheHopkinThomasProject/TimeLine/Wales/Steam/URochesterColl...
19•gregsadetsky•4d ago•1 comments

Pi's Minimalism Is Its Advantage

https://earendil.com/posts/pi-autoresearch-and-databricks/
329•luispa•10h ago•125 comments

Mistral's Shieldstral: 3B open-weights model for multimodal moderation

https://mistral.ai/news/shieldstral/
398•riadsila•16h ago•97 comments

Zero-Mem: Zero-Token Memory Operations for LLM Agents

https://arxiv.org/abs/2607.29377
28•theanonymousone•4h ago•7 comments

Show HN: Simple algorithm and color space to generate diverse skin tones

https://toneyalexander.github.io/inclusive-color-space/
517•automatoney•17h ago•90 comments

IP and DNS Leaks in WebKit Affecting Proxy Browsers and iCloud Private Relay

https://mysk.blog/2026/08/04/webkit-proxy-icloud-private-relay-ip-leak/
98•lapcat•9h ago•15 comments

In Memory of My Wife, Elise Cawley, with Thanks for 36 Wonderful Years

https://writings.stephenwolfram.com/2026/08/in-memory-of-my-wife-elise-cawley-1961-2026-with-than...
1308•jdcampolargo•13h ago•74 comments

DuckDB – Data power tools for your laptop, now in Clojure (2023)

https://techascent.com/blog/just-ducking-around.html
95•sourdecor•10h ago•15 comments

Show HN: Maple-Preview – Ternary 20B MoE running at 120 tok/s on a iPhone

https://deepgrove.ai/maple-preview
106•edwardbzhang•12h ago•31 comments

Rio-vt and librio: Rio's terminal engine, now embeddable

https://rioterm.com/blog/2026/07/27/rio-vt-and-librio
31•vinhnx•1w ago•8 comments

Eight Myths on Software Engineering and GenAI

https://queue.acm.org/detail.cfm?id=3807963
197•tchalla•8h ago•160 comments

AI fuels more than half of cybercrime in Africa as scams surge – Interpol

https://www.africanews.com/2026/08/04/ai-fuels-more-than-half-of-cybercrime-in-africa-as-digital-...
221•bookofjoe•10h ago•169 comments

The Golden Age of British Ice Cream

https://www.vittlesmagazine.com/p/the-golden-age-of-british-ice-cream
55•bryanrasmussen•14h ago•40 comments

Bugtraq is back

https://lists.securityfocus.com/hyperkitty/list/bugtraq@securityfocus.com/thread/CHKLXLA7SJEWLDFH...
39•bashtoni•8h ago•9 comments

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/
54•afdbcreid•2h ago•32 comments

libexpat now funded by the City of Munich for up to 6 months

https://blog.hartwork.org/posts/libexpat-city-of-munich-open-source-sabbatical/
261•spyc•9h ago•45 comments

Colorimeter 3nh CR4501 RAL Hack

https://github.com/hallko1234/cr4501-ral-hack
5•Jimmc414•4d ago•0 comments

We finally learned to center a div, then browsers added sidebars

https://seg6.space/posts/center-div/
122•seg6•10h ago•102 comments

Video2NAND – Abusing video codecs for great computational power

https://sharedobject.blog/posts/vp8-combinatorial-logic/
61•firer•2d ago•11 comments

Zigbee vs. Matter over Thread:Understanding IoT Protocol Performance in Practice

https://arxiv.org/abs/2603.04221
83•teleforce•8h ago•65 comments

There Will Come Soft Rains (1950) [pdf]

https://users.wpi.edu/~zrbutzke/Docs/BradburyStories(1).pdf
377•pmg101•1d ago•399 comments

Waymo in Dallas

https://waymo.com/blog/shorts/dallas-open-to-all/
288•xnx•14h ago•501 comments

Show HN: SIMD Viterbi Decoder in Rust

https://github.com/brian-armstrong/fec
43•brian-armstrong•10h ago•3 comments

Flowise is shutting down

https://flowiseai.com/sunset
47•llmgraph•8h ago•29 comments

An SLM trained on $8 ESP32-S3

https://github.com/Carloscodix/qapla
20•pavelai•4h ago•7 comments

Godox Transparent Viewfinder Camera C100

https://www.godox.com/product-e/C100.html
37•routeroff•1d ago•19 comments

When AI Benchmarks Plateau: A Systematic Study of Benchmark Saturation

https://arxiv.org/abs/2602.16763
96•doppp•16h ago•95 comments

I am retiring from fulltime writing (& pseudonymity) to launch Guardian Angel

https://twitter.com/gwern/status/2084739205071343837
273•mattsterett•11h ago•178 comments