In a nutshell: It's fine to use LLMs to answer questions, analyze, distill, refine, check, suggest, review. But not to create.
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…
Rust-lang/rust is adopting an LLM policy
11–20 of 74 posts
Re: Rust-lang/rust is adopting an LLM policy
#12Re: Rust-lang/rust is adopting an LLM policy
#13In a nutshell: It's fine to use LLMs to answer questions, analyze, distill, refine, check, suggest, review. But not to create.
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…
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.
Re: Rust-lang/rust is adopting an LLM policy
#14> 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.
You know rustaceans hate anything LLM when mods have to make this a rule.
Re: Rust-lang/rust is adopting an LLM policy
#15https://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.
Re: Rust-lang/rust is adopting an LLM policy
#16Re: Rust-lang/rust is adopting an LLM policy
#17The 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 contributo…
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
Re: Rust-lang/rust is adopting an LLM policy
#18In a nutshell: It's fine to use LLMs to answer questions, analyze, distill, refine, check, suggest, review. But not to create.
>Pre-arranged, non-critical, high-quality, well-tested, and well-reviewed code changes that are originally created by an LLM are allowed, with disclosure.
Re: Rust-lang/rust is adopting an LLM policy
#19The 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?
Re: Rust-lang/rust is adopting an LLM policy
#20The 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 contributo…
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.