News: 0183485144

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Zig Bans AI Code Contributions Because They're 'Invariably Garbage' (businessinsider.com)

(Sunday May 31, 2026 @11:34AM (EditorDavid) from the throwing-an-exception dept.)


The Zig programming language wants to be a modern alternative to C (including better memory safety features). It's maintained by as an open-source project by a 501(c)(3) nonprofit and a network of contributors.

But [1] Business Insider notes that Zig bans the submission of AI-assisted code:

> [2]On the JetBrains podcast , Zig President Andrew Kelley called AI-assisted contributions "invariably garbage."

>

> "People are sending us contributions that have no value whatsoever," Kelley said. "They have negative value, because they take review time away from the team...." There are more pull requests than reviewers. At the time of the recording, Kelley said that Zig had 200 open pull requests. Those AI-generated "slop contributions" slow the whole team down even more, Kelley said. "We've wasted everybody's time...."

>

> Big Tech companies have projected lofty goals for the percentage of code that should be — and already is — written with AI. Zig doesn't have a mandate to be maximally efficient like these public companies. Instead, "mentorship" is part of its core mission, Kelley said, making AI contributions counterproductive. "We're all trying to get better at programming," Kelley said. "People who are sending AI pull requests, those people are not helping this goal."



[1] https://www.businessinsider.com/zig-programming-language-ai-rules-2026-5

[2] https://www.youtube.com/watch?v=iqddnwKF8HQ



You're just ... (Score:2)

by eneville ( 745111 )

You're just one prompt away from fixing the problem

A problem with GenAI... (Score:2)

by Junta ( 36770 )

GenAI rewards those that just don't give a crap and trust the output far more than it rewards people that want to make sure the generated output is actually what you want and done well.

So someone turning on the token hose to an agent that can create and comment on pull requests and all this stuff flood with useless crap. They are going to vomit up probably about 100x more "stuff" to the world than a traditional developer, and further it's a fad where there's probably 5x more people trying.

Someone that uses

Re: A problem with GenAI... (Score:3)

by LindleyF ( 9395567 )

When I first started programming, I spent a lot of time fussing over whitespace and formatting. Then clang-format got good enough that I just turned on format-on-save and forgot about it.

We are now seeing a similar effect with certain aspects of coding. We still want to control the overall structure of and flow, but the details don't need to be micromanaged if they produce the correct result. We should still be able to look at it and say "yeah, that looks right," like with formatting. But we can delegate s

Re: A problem with GenAI... (Score:5, Insightful)

by Junta ( 36770 )

But that's my whole point, what you describe is the 20-50% faster scenario.

What is driving most of the annoyance with pull requests are the folks that just tell it to do something and then it spits out a bunch of plausible code, particularly if not testable.

One example:

[1]https://lore.kernel.org/lkml/3... [kernel.org]

The proposal was *probably* vibe coded and submitted to the kernel to get some attribution, and the code was fundamentally untestable, and constituted basically LLM guesses about what PCIe7 would look like. Structurally credible, but a volume of negative value crap because it's outright incorrect per people that actually know what it looks like and had to waste their time just in case it was a credible origin for this.

*This* is what responsible open source contributors are up against, not because the slop is viable, but just because the slop drowns out the better. Your AI generated code may be fine because you actually oversee it credibly, but by volume most GenAI output is slop, because of the humans feeding the prompt getting more volume if slop suffices for them.

[1] https://lore.kernel.org/lkml/36867a01-cc7a-6fed-bcf4-ec84263ea7c4@linux.intel.com/

Re: A problem with GenAI... (Score:2)

by LindleyF ( 9395567 )

I get more speed up than that. What used to take a day now takes an hour. But yeah, there are many ways to use genai that are less than responsible.

Re: (Score:2)

by Junta ( 36770 )

I tossed that number out as my experience, and it varies wildly task to task and language to language.

For C development, I'd imagine it's super accelerating, as there's so much boilerplate micro managing.

For python, less so as it's a bit less boilerplatey.

If wanting to make a variation on a fairly common pattern, really accelerated. If trying to work in a niche context, frequently more annoying than helpful if you try to prompt, but maybe decent at AI augmented code completion.

Re: (Score:2)

by SumDog ( 466607 )

Cleaning up whitespace is far different than a Weighted Random Code Generator creating stuff out of a number matrix that may or may not be correct, much of it being very difficult to read.

Re: A problem with GenAI... (Score:2)

by LindleyF ( 9395567 )

And the internet is just forwarding blobs according to a few simple rules. That's part of it, but it's misleading to suggest that's the extent of it.

Re: A problem with GenAI... (Score:2)

by vakuona ( 788200 )

Perhaps, the solution is to begin to require that any code that is submitted is accompanied by comprehensive documentation and tests to demonstrate its appropriateness otherwise it will be ignored / sent to /dev/null. This would also be good for human created code.

Open source does need to embrace AI coding otherwise it will become irrelevant

Re: A problem with GenAI... (Score:1)

by drh1138 ( 6194498 )

The pretend-programmers will just start submitting slop that's vaguely shaped like said tests and documentation.

Re: (Score:2)

by Junta ( 36770 )

They already slop up excessive documentation. That's one of the issues is that a issue report or a pull request that might have formerly been to the point is now a big verbose essay. An issue might drone on about the history of string formatting and the various capabilities and the entire rationale of why hexadecimal is so useful in the context of computing and documenting how prevalent it is.

For a pull request that adds an argument to switch some numeric data to hexadecimal. Bonus points, instead of a ref

Well, that's that then (Score:2)

by cascadingstylesheet ( 140919 )

I mean if a colossus like Zig does this, well then ...

Re: (Score:2)

by dfghjk ( 711126 )

it's worth at least as much as your opinion

Garbage in, garbage out (Score:2)

by SysEngineer ( 4726931 )

When coding use AI, it usually take the easiest code path. I look at AI as a stupid but vary fast beginner programmer that knows the syntax.

Garbage in garbage out.

I have been programming longer than most people reading this have been alive. I am tired of "coding" but I still love programming new ideas. By defining the structure and flow before giving it to AI, produce decent fast results.

Re: (Score:2)

by dfghjk ( 711126 )

The goal is for future "programmers" to not even know how to define structure and flow.

Half of all programming is embedded, resource constrained and fixed function. The ability to even describe what needs to be done is the biggest challenge. AI coding assistants want you to ignore that programming even exists, after all gluing together other people's work is all programming is now, and that's a job AI "can do" (poorly).

Re: Garbage in, garbage out (Score:2)

by jlowery ( 47102 )

"I have been programming longer than most people reading this have been alive."

I have two less digits in my user ID than you, tenderfoot.

It's resume padding (Score:2)

by rsilvergun ( 571051 )

So a common way to make your resume stand out as a programmer is to contribute to open source projects. It's one of the ways open source projects get contributors in the first place. The problem here is you've got people doing AI slop trying to get their names on lists so they can apply for jobs.

MongoDB (Score:3)

by Snotnose ( 212196 )

I don't even know what MongoDB is but, thanks to Slashdot, I have a very negative opinion of it.

GNUstep Wayland backend has AI Generated OpenGL (Score:2)

by DMJC ( 682799 )

I looked at the GNUstep Wayland backend which is missing tons of features vs X11, then I got Claude to implement the missing features and broke them up by feature into pull requests which are being verified and merged into main. It's a small team and the progress we're making would have taken years if it was done the old way. Not all AI is useless slop but people need to take the review and submission process seriously.

Banning is a bit extreme, but they're correct (Score:2)

by Somervillain ( 4719341 )

AI contributions are garbage. AI is a powerful tool, but everything I've seen Claude write as new code in Java is SHIT. I tell it to write unit tests for working code?...verbose garbage...logic errors, insultingly stupid code, like testing getters and setters. I finished all my tasks early last week, so was assigned to help another team who had been struggling. I had to alter some working code with an open source big data platform I've never used. The code was very low quality, the comments were comple

Such a surprise (Score:2)

by gweihir ( 88907 )

Well, another data point showing the quality level of AI code realistically. It may be capable of producing simple boilerplate code, but who really needs that in larger quantities? For anything that requires actual insight, it is trash and using it reduces efficiency.

No matter where I go, the place is always called "here".