Zig, the Open - source Programming Language, Says 'No' to AI - generated Code - eu.36kr.com
Oh, marvellous. The Zig programming language has decided it wants nothing to do with AI-generated code — which its creator Andrew Kelley, in a recent podcast, describes with the refreshingly blunt label 'junk'. Because when the future of software development hands you a tool that can spew out thousands of lines of plausible-looking gibberish in seconds, the correct response is apparently to say 'no thanks, we'll stick with the human kind of bugs'. How quaint. How utterly doomed.
Kelley's podcast outburst is just the latest sign that the great AI coding gold rush has produced a rather embarrassing by-product: a mountain of code that looks good in a commit but falls apart the moment someone actually runs it. Zig, the scrappy upstart that positions itself as a better C, is now effectively telling the world that its community values 'not having to debug someone else's hallucinated API calls' more than 'shipping fast'. It's almost as if quality still matters — which, for a language that doesn't have a trillion-dollar market cap behind it, is a luxury the big players can't afford to admit.
What's particularly delicious is the implicit commentary on the rest of the industry. While OpenAI and GitHub are pushing Copilot as the second coming of pair programming, Zig's Kelley has basically said 'we've seen the output, and it's not good enough for our project'. That's not a stance you can take when you're trying to sell an AI product — but for an open-source language that lives or dies on maintainer trust, it's a survival instinct. The joke, of course, is that the AI code assistants will only get better, and Zig will either have to evolve or become a quaint museum piece. But for now, they get to feel superior, and we get to laugh at the cognitive dissonance between 'AI will replace all coders' and 'we don't want AI code because it's junk'.