Zig: Build System Reworked

(ziglang.org)

66 points | by tosh 2 hours ago

6 comments

  • portly 9 minutes ago
    After having used Zig for a couple of months now I am convinced it is a fantastic tool language. You just pick it up to hack some idea together freely. Every time I hit a wall, I find the creators have thought of it already and offers comfort. But nothing gets in your face how to use the programming language "correctly".

    For me it is now the go-to "tinker in my garage" language.

  • epolanski 29 minutes ago
    This sounds like great news, Zig's compilation times are already terrific and this is going to only make them better.
    • dmit 17 minutes ago
      > Zig's compilation times are already terrific

      In my experience, this (for now) is mostly aspirational. It's obviously a major goal, and there are clear milestones outlined on how to achieve it, but in practice the initial compile of an empty project or the excruciating pause when you `direnv allow` and ZLS needs to be (re)built are not what I'd describe as "terrific".

      • epolanski 9 minutes ago
        Maybe you're right, but how many other system programming languages toolchains give you sub 50ms recompilations across millions of LoC?
        • dmit 6 minutes ago
          I foresee a pjmlp comment in your near future. :)
  • baskduf 2 hours ago
    [flagged]
  • abhayji 23 minutes ago
    [flagged]
  • abhayji 39 minutes ago
    [flagged]
  • lerp-io 41 minutes ago
    [flagged]