Top
Best
New

Posted by lumpa 12 hours ago

The Zig project's rationale for their anti-AI contribution policy(simonwillison.net)
406 points | 209 commentspage 3
buggymcbugfix 9 hours ago|
One reason I love writing production code in Ur/Web is that LLMs are incapable of synthesising something even remotely resembling it. Keeps me on my toes.

I think this is a great policy by the Zig team.

wk_end 8 hours ago|
Ur/Web! That's something I haven't heard about in ages. Is it still in active development? In what circumstances are you using it? Fun, your own startup, is some secret big commercial user of it...?
miroljub 2 hours ago||
I don't have an opinion about Zig AI policy for contributions. Their project, their policies. Fine for me.

However, I wanted to give Zig a try in an agentic coding scenario. For tasks that would take a few seconds when choosing Python, Java, or JavaScript as a target language, it would take tens of minutes and waste millions of tokens before producing anything.

Almost any model gets stuck trying to figure out the correct syntax and correct libraries for a specific Zig version, fighting with compiling and figuring out function call parameters, frequently taking it wrong and going on side quests for things that should just work.

I guess the relative lack of resources and the language instability don't play well for models that try to generate Zig code. Using specific tools like zig-mcp helps only a bit.

Until LLM support for Zig improves (one needs to spend significant resources for that to happen), LLM-generated Zig code won't be good enough for either Zig programmers or Zig contributors.

trklausss 7 hours ago||
Honestly, that doesn't sound too bad. It does not say you can't use LLMs, it just doesn't let LLMs be the author of a commit. Meaning, if you as a developer make yourself responsible for what the LLM wrote, go ahead. But be ready to answer the technical questions, be ready to get grilled in the code review, and be called if you get a CVE on that part of the code...
jibal 2 hours ago||
Loris Cro banned me from his Zig forum because I disagreed with/corrected something he wrote.

I was also blocked from the Zig github repository, after being a frequent contributor to issue discussions, for reasons unknown (I was never informed, I just found out when I could no longer put a thumbs up on a comment).

shevy-java 2 hours ago||
AI must die - don't let Skynet 7.0 win!!!

(Ok ok I think we lost the fight already. I see soooooo many people using AI tools on github in the last ~2 weeks alone, claude in particular literally infiltrated everything there.)

cindyllm 2 hours ago|
[dead]
shirro 7 hours ago||
People shouldn't have to justify not putting up with bullshit. It is a sensible default.
slopinthebag 8 hours ago||
Go zig! I don't use the language but I totally respect where they're coming from and their mission and ethics.

For those who are pissed because a large OSS project isn't accepting LLM generated slop: Fuck off!

feverzsj 10 hours ago||
No human should trust any bullshit made by bullshit machine.
slopinthebag 8 hours ago|
Very convenient of Mr. Willison to omit the fact that Bun's upstream changes are total garbage and would not be upstreamed regardless of any policies, omitting LLM generated code or not, since they are, as a zig core team member articulated in a classier way, shite.
simonw 6 minutes ago||
I hadn't see that post when I wrote this. I've updated it now to add a link.

What were you trying to imply by "very convenient"?

throwa356262 8 hours ago|||
Also, that zig team is already working on other approaches that are better and more stable than what Bun team did:

https://ziggit.dev/t/bun-s-zig-fork-got-4x-faster-compilatio...

000ooo000 7 hours ago||
Notable quotes:

>There’s the 4x speedup claimed by the Bun team, already available on Zig 0.16.0!

>Each [incremental] update is taking less than 0.4s, compared to the 120+ seconds taken to rebuild with LLVM. In other words, incremental updates are over 300 times faster on this codebase than fresh LLVM builds are. In comparison, an enhancement capped at a 4x improvement is pretty abysmal. [..] Again, this feature is available in Zig 0.16.0—you can use it!

fg137 2 hours ago||
I have learned to take always Willison's words with a giant grain of salt, despite how popular those articles are here.
simonw 12 minutes ago||
How can I do better?
More comments...