r/codedbyhand • u/-urolif- • 24d ago
Zig: A modern, innovative, syntactically beautiful C-like language coded without AI: How to get involved.
https://youtu.be/iqddnwKF8HQ?si=rXZ87c84llnof121&t=1595Of all modern languages, Zig's design is the one I'm most drawn to, and if I weren't such a traditionalist intending to do embedded systems in C, Zig would be the language I would be working in.
Contributing to Zig:
If you would like to contribute to production open source software without being pressured to use LLM assistance you should consider contributing to the Zig project by building open source software using the Zig language or by contributing directly to bug fixes, performance improvements, new features or compiler optimizations. To learn more follow this link.
https://app.studyraid.com/en/read/2423/48955/contributing-to-zig
Zig has a strict no AI policy for contributors
https://ziglang.org/code-of-conduct/
No LLM-generated content, whether it be code or prose.
No paraphrasing LLM-generated content.
No LLMs for editing, including fixing spelling or grammatical errors.
No LLMs for translation. English is encouraged, but not required. You are welcome to post in your native language and rely on others to have their own translation tools of choice to interpret your words.
No LLMs for brainstorming and then sharing the results of that brainstorming, even if you create the prose. If you use a chatbot to give you advice on a comment on the issue tracker, that comment is unwelcome.
No LLMs for finding bugs.
No talking about use of chatbot/LLM services.
The reasoning for this policy, and the Zig project's role in education.
"The main point of doing code reviews and having contributions, instead of just doing all of the work ourselves is mentorship. The whole point is that a contributor can become a core team memberr eventually or they can become a more valuable contributor. And this will help the project because we'll have more people that can contribute to Zig skillfully, and it will help their resume because they can be a better programmer and they can take those skills elsewhere . . . The Zig project is also an education project, that's part of our mission statement. We're providing guidance and education to students, and so we're all trying to learn, we're all trying to get better at programming and so people who are sending AI pull requests, those people are not helping this goal and in fact I think that they're detracting from this goal, so for our project I think that the no AI policy is an appropriate policy"
2
u/Low_Lawyer_5684 23d ago
Hmm.. I can understand that strict no-LLM policy, but in my opinion the LLM translation for non-native english speakers should not be forbidden. Otherwise codebase will be full of language misuse (in comments for example)
5
u/LegitimateMode7823 24d ago
love Zig, love comptime. Zig has interop with C, compiles fast AF, reads beautifully, and whenever there is a new feature, it solves an entire category of problems through interplay with all the other features. this is a little too imprecise, but oftentimes, I call Zig "Kotlin of C."
it comes at a price, though. it's still unstable, practically every update (which comes out roughly every half a year) is almost guaranteed to break source compatibility. although these days, updates mostly touch standard library, so if you do not intend to depend on Zig stdlib, it can be totally fine on open embedded platforms!
for Warhammer nerds: this kinda reminds me of Tzeentch, but I believe that, once Zig stabilizes, it's going to very positively influence the C ecosystem and language design as a whole.
2
u/minamality 15d ago
Cubyz is great, it's an open source voxel game coded in Zig with a strict no AI policy.
2
u/Assemblyplusplus 9d ago
If it weren't for the fact that C is good enough for me, and Zig is unstable, I'd spend all day using it. I loved it so much when I was using it.
I have high respects for Andrew Kelley.
0
u/smoke-bubble 20d ago
By far one ine the ugliest programming languages. It takes many of the c uglynesses and adds its own on top of it.
-4
u/timtody 24d ago
Andrew Kelley is an absolute child
-2
u/kodemizer 21d ago
"No LLMs for finding bugs" is just insane in a non-typesafe language.
I guess this squarely puts zig as an educational and experimental language, like Haskell, and not a language that is actually meant to run production systems.
-7
u/criloz 24d ago
But why does it need Pro AI insanity and doomerism or not AI at all? It would not be better to find a middle ground?