Skip to content
Tech News
← Back to articles

Zig Bans AI Code Contributions Because They're 'Invariably Garbage'

read original get AI Coding Assistant Tool → more articles
Why This Matters

Zig has decided to ban AI-assisted code contributions due to concerns over the low quality and negative impact on development workflow. This decision highlights ongoing debates in the tech industry about the role and reliability of AI-generated code. For consumers and developers, it underscores the importance of maintaining code quality and the challenges of integrating AI into open-source projects.

Key Takeaways

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 Business Insider notes that Zig bans the submission of AI-assisted code:

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."

Read more of this story at Slashdot.