‹ BackHN Continuity

Thread

Zig v0.17.0

267 points · 208 comments · ErenayDev

  1. jabedude · · focus · HN ↗
    How is Zig doing as a project? I remember they took a hard line against AI
    1. abc42 · · focus · HN ↗
      It looks like they're spending 5 months what should be a 1 month job these days.
      1. onlyrealcuzzo · · focus · HN ↗
        Filed a compiler bug related to dwarf tables that screws up debugging and line of code coverage that they completely ignored, just because I mentioned that I had every LLM check it to confirm it's a bug, since all I know is what kcov and every coverage tool generates incorrect coverage data for my repo, for 100% certain.
        1. bendmorris · · focus · HN ↗
          Sounds like you violated the clearly stated project rules and admitted to it. Are you surprised that they're not engaging with you?
          1. unclad5968 · · focus · HN ↗
            It's a violation of project rules to confirm bugs with AI?
            1. bendmorris · · focus · HN ↗
              Read it yourself: <a href="https:&#x2F;&#x2F;ziglang.org&#x2F;code-of-conduct&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ziglang.org&#x2F;code-of-conduct&#x2F;
              1. sigmar · · focus · HN ↗
                &gt;If you use a chatbot to give you advice on a comment on the issue tracker, that comment is unwelcome.

                &gt;No LLMs for finding bugs.

                &gt;No talking about use of chatbot&#x2F;LLM services.

                I&#x27;ve said it before and I&#x27;ll say it again- it&#x27;s a cult that bans dissent

                1. alexrp · · focus · HN ↗
                  For the record, there isn&#x27;t even uniformity of thought on LLMs within the core team, let alone the broader Zig community.
                  1. kingcauchy · · focus · HN ↗
                    Interesting to hear! We maintain the project Antfly (entirely zig) and have been nervous about bringing issues to the zig folks or asking questions because of our ai usage.

                    We’re quite knowledgeable and thoughtful folks fwiw

                    I think I’ve seen you are a core team member or contributor? I remember your tag?

                    1. alexrp · · focus · HN ↗
                      We simply ask that Zig bug reports be written by humans, for humans. Whether you use LLMs on your project is immaterial to us.

                      Yes, I&#x27;m a core team member.

                      1. kingcauchy · · focus · HN ↗
                        Thanks for the clarification here!

                        So for instance because of the size of our codebase our project has pushed Zig to some of the edges, specifically we end up hitting a bug when using llvm and zig on arm64 (Mac and Linux) where it seems to be caused by some configuration Zig passes through to LLVM. I’ve used codex and claude to help me diagnose and find the bug (we use nix’s glibc zig to circumvent the problem now). I now understand the root cause but am not sure what the proper fix would be. But I’ve not known whether or not even raising the issue would break the terms of contributing? Would raising the issue break the implicit agreement?

                        1. alexrp · · focus · HN ↗
                          I would suggest just starting by filling out the bug report template, i.e. steps to reproduce, expected behavior, and observed behavior. If for some reason you can&#x27;t provide a reasonable reproduction, the symptoms on their own can sometimes be enough for us to make an educated guess at what&#x27;s going wrong.

                          Regarding whether you should post the root cause analysis: Per the current policy, the answer would have to be no.

                          I do personally have more nuanced thoughts on this, and I started typing them out... but then I realized that my reply was getting dangerously close to blog post length, so I decided to restrain myself and commit to turning it into an actual blog post later. In a nutshell, though, the problem is that even if there is such a thing as responsible use of LLMs for bug analysis, the only way we can currently be confident that someone possesses the required qualities for that is by working with them for a while.

                          1. kingcauchy · · focus · HN ↗
                            I understand, maybe one day I&#x27;ll have the chance to hear the blog posts&#x27; worth of thought on the matter!

                            <a href="https:&#x2F;&#x2F;codeberg.org&#x2F;ziglang&#x2F;zig&#x2F;issues&#x2F;37060" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;ziglang&#x2F;zig&#x2F;issues&#x2F;37060 I opened the issue and can give you the agent generated RCA on the matter if you all want it in issue 604 on antfly&#x27;s github but I understand that&#x27;s against policy and totally respect that.

                            Appreciate all the work you guys do and have been following the whole Zig project since inception fwiw!

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.