13 votes

Zig 0.9.0 has been released

5 comments

  1. [5]
    Apos
    (edited )
    Link
    I asked Andrew Kelley last week when he expects the self-hosted compiler to be done and he said by February snip. When that's done it will be quite a lot faster than the current compiler. Edit:...

    I asked Andrew Kelley last week when he expects the self-hosted compiler to be done and he said by February snip. When that's done it will be quite a lot faster than the current compiler.

    Edit: Reading replies below, it might not be version 1.0 but only the self-hosting. I thought self-hosting meant 1.0 but maybe not. Edited this to reflect that.

    4 votes
    1. [3]
      csos95
      Link Parent
      Has he given an estimate for when the std library docs will get worked on? iirc they were being put off until self-hosted compiler was completed. Also, is there going to be any compatibility...

      Has he given an estimate for when the std library docs will get worked on?
      iirc they were being put off until self-hosted compiler was completed.
      Also, is there going to be any compatibility guarantees once it hits 1.0?

      I've tried learning Zig a few times over the last couple of years, but I kept getting put off by how much of a hassle it was to learn with the very incomplete language/std library documentation and given how quickly things change most resources I could find on specific topics were out of date and didn't work even if they were just a month old.
      It always seemed to come down to hoping that someone with the knowledge I needed was on the discord at the same time as me or reading through the Zig source code.

      I'd really like to use Zig as an alternative to Rust for NIFs in Elixir, but I've been waiting for it to be a bit more stable before I commit to it.

      3 votes
      1. hungariantoast
        Link Parent

        When Zig reaches 1.0.0, a new requirement for Tier 1 Support will be 0 known bugs for that target.

        Here are the steps for Zig to reach 1.0:

        • Finish the Self-Hosted Compiler.
        • Stabilize the language. No more Language Changes after this.
        • Complete the language specification first draft.
        • Implement the official package manager.
        • Stabilize the Standard Library. That means to add any missing functionality, audit the existing functionality, curate it, re-organize everything, and fix all the bugs.
        • Go one full release cycle without any breaking changes.
        • Finally we can tag 1.0.
        3 votes
      2. skybrian
        Link Parent
        Holding off is what they recommend. There are known compiler bugs. (Apparently compiling C code with the Zig toolchain is pretty stable, but not compiling Zig code yet.)

        Holding off is what they recommend. There are known compiler bugs.

        (Apparently compiling C code with the Zig toolchain is pretty stable, but not compiling Zig code yet.)

        2 votes
    2. bub
      Link Parent
      This is the most exciting news I've heard in months. I've been kind of waiting to really start any serious projects in Zig until at least 1.0. Chances are I'd be just as well off starting now, but...

      This is the most exciting news I've heard in months.
      I've been kind of waiting to really start any serious projects in Zig until at least 1.0.

      Chances are I'd be just as well off starting now, but at least this way I can tell myself I have an excuse to not already have a Zig project going.

      2 votes