Zig v0.17.0

83 points | by ErenayDev an hour ago

35 comments

  • jabedude 40 minutes ago

    How is Zig doing as a project? I remember they took a hard line against AI

      agentultra 21 minutes ago

      They seem to be doing fine. Tigerbeetle and Ghostty are two projects that continue to do well and are written in Zig. The foundation’s funding also seems to be doing well. They are continuing to make releases.

      acedTrex 14 minutes ago

      Im really enjoying using it, works great tbh

      abc42 35 minutes ago

      It looks like they're spending 5 months what should be a 1 month job these days.

        onlyrealcuzzo 32 minutes ago

        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.

          bendmorris 21 minutes ago

          Sounds like you violated the clearly stated project rules and admitted to it. Are you surprised that they're not engaging with you?

            unclad5968 16 minutes ago

            It's a violation of project rules to confirm bugs with AI?

            IshKebab 16 minutes ago

            Wow I thought surely they wouldn't object to using AI to confirm bugs, but they really do.

            Tbf I guess as a popular open source project not using AI to fix bugs, they probably already have more open bugs than they can ever fix so it doesn't really help them for people to find more.

            I would imagine his bug was actually ignored just because Zig has 2700 open bugs, rather than some AI policy violation.

          UncleOxidant 10 minutes ago

          If they really insist on no LLM involvement at all then they're going to fall behind and lose out. Your LLM use case seems really very conservative - you didn't write any code with it, you just use it to confirm the bug. There are many OSS projects that are also taking a similar hardline against LLMs - people are going to fork them and then move on. I've had LLMs fix bugs/add features to a couple of projects like this and, well, they're missing out on the fixes/added features that I'm using locally.

            acedTrex 5 minutes ago

            They are doing fine, all this "left behind" talk has no basis other than cope.

          acedTrex 15 minutes ago

          > breaks the project rules

          > gets ignored

          Who could have forseen this.

        greggoB 30 minutes ago

        Can you offer any specifics? The ToC looks quite extensive, which to me indicates a lot of design decisions needed to be made (probably involving many people) and unclear how that process might be accelerated by AI.

        Unless you're suggesting the language design should also be vibed together?

          nvme0n1p1 23 minutes ago

          > Unless you're suggesting the language design should also be vibed together?

          Sounds like a fun little project, have a bunch of AI pushers fork Zig and see if they can do a better job. I want to see results, not snarky HN comments. After all this progress, ChatGPT should be able to one-shot a better language since AI is so good now... right?

            agentultra 18 minutes ago

            Claude can’t one-shot a C compiler.

            None of these systems can. They need enormous training. They need alignment and reinforcement. They need harnesses. And most importantly they need a human that knows how to write and develop a C compiler.

            The ISO specifications are not sufficient. Neither are the System V guidelines. Not even spec tests and compcert.

            UncleOxidant 6 minutes ago

            You're not going to one-shot it, but over the course of a couple of months of evenings you could come up with something usable/interesting if you manage the LLM well.

            spankalee 19 minutes ago

            One-shot, no, but there are a bunch of people pretty much solo-building their personal ideal language with AI and it's going quite well. You need to know just enough about language design to be dangerous, but you don't need to be a seasoned pro.

            I'm doing it myself: https://zena-lang.dev/

              Karrot_Kream 7 minutes ago

              Been thinking about doing this myself (did some PL in grad school but it's been a long time), but I find myself wanting to reach for a Scheme (using macros to grow the language I want) and customize it or build something atop Janet.

              Curious why you wanted a more ML / Rust / Scala inspired syntax. (Personal preference here is totally valid btw, just curious.)

            IshKebab 11 minutes ago

            Nobody is one-shotting big projects. Even humans can't do that.

        dingdingdang 15 minutes ago

        Yep, it's true, but the reality of what it would take to actually fork and commence with healthy use of AI alongside with the elusive soft/hard stance needed to lead technically and socially is probably a bigger challenge than anyone is willing to take on! Soo.. slow and (rather?) well it goes for Zig.

        mg74 27 minutes ago

        Slow and steady wins the race

          jibalt a minute ago

          Parables aren't reality.

          re-thc 21 minutes ago

          Anthropic levels of slowness (pacing)?

          mathisfun123 24 minutes ago

          in tech? really?

            Zak 13 minutes ago

            In programming languages, usually. Building software on top of a rapidly-changing language is not often a recipe for success.

            nvme0n1p1 21 minutes ago

            Yes, the Lindy effect applies in tech too.

      DASD 23 minutes ago

      Seems to be C++ing which is disappointing. Looking more at C3 and Odin for cases where I'd hoped Zig to land.

        deagle50 14 minutes ago

        Odin scratches this “stick shift” itch for me better than anything else. Highly recommended.

        zer0-c00l 7 minutes ago

        can you elaborate on what you mean by "C++ing"?

        sureglymop 5 minutes ago

        C3 is honestly so good and a bit underrated.

  • ErenayDev an hour ago