I have been reading about this new language for a while. It's a C competitor, very slim language with very interesting choices, like supporting cross platform compilation out of the box, supports compiling C/C++ code (and can be used as a drop in replacement for C) to the point in can be used as replacement of (c)make and executables are very small.

But, like all languages, adoption is what makes the difference. And we don't know how it goes.

Is anyone actually using Zig right now? Any thoughts?

  • NotPengi@feddit.nl
    ·
    1 year ago

    I’ve heard of it for sure, and have seen some examples. I’ve never seen a real good use case for my personal or professional projects that I couldn’t fulfill with Rust or Dart in the same capacity or better. Then again, I don’t work with C projects basically at all, so other people’s mileage may vary.

    • jeffhykin@lemm.ee
      ·
      edit-2
      1 year ago

      I also prefer Rust, but I saw a pretty good argument for Zig (and actually a pretty big hole/problem with Rust) when it comes to unsafe stuff. The title of this is clickbait but the content is really good: https://www.youtube.com/watch?v=CbQVR4v5PZw

      • PipedLinkBot@feddit.rocksB
        ·
        1 year ago

        Here is an alternative Piped link(s): https://piped.video/watch?v=CbQVR4v5PZw

        Piped is a privacy-respecting open-source alternative frontend to YouTube.

        I'm open-source, check me out at GitHub.