Generative AI and D: comparison with other language projects

Walter Bright newshound2 at digitalmars.com
Mon Jul 6 22:12:28 UTC 2026


LLM policies on other projects similar to ours, for comparison:

Rust:

Code creation: You cannot use AI (like Large Language Models) to write the code 
you submit.The human rule: You are completely responsible for your submissions. 
You cannot claim AI output as your own work.Allowed AI uses: You can use AI to 
hunt for bugs, analyze code, or review changes.Penalties: Low-effort, 
AI-generated code dumps (sometimes called "slop") can get you banned from making 
contributions.

GNU:

GCC, and the GNU C Library) generally reject or severely restrict Artificial 
Intelligence (AI) and Large Language Model (LLM) generated code

LLVM:

Human Vetting: You must read and understand all AI-generated code before asking 
project members to review it.Labeling: You should label contributions that 
contain substantial amounts of AI-generated content.No Autonomous Agents: 
Digital bots or agents that submit code or make changes without human approval 
are not allowed.No AI for Beginners' Tasks: AI tools must not be used to solve 
issues labeled as "good first issues," as these are meant to be learning 
opportunities for new contributors.

Python:

The Python Software Foundation (PSF) and the core Python language place zero 
restrictions on how you write your code.

Java:

The OpenJDK Governing Board officially bans AI-generated code from being 
submitted to the project. You can use AI as an assistant to brainstorm, but you 
cannot submit code written by a Large Language Model (LLM) into the official 
Java codebase.

Zig:

Zig has a strict ban on AI-generated code.The Zig language has an official rule 
against submitting any LLM-generated content. This includes brainstorming, 
translating, debugging, or writing code.


More information about the Digitalmars-d mailing list