10 votes

Topic deleted by author

3 comments

  1. [3]
    cmccabe
    Link
    Are any Tildes members using Zig? I’m curious what you’re using it for and what you think about it.

    Are any Tildes members using Zig? I’m curious what you’re using it for and what you think about it.

    3 votes
    1. bub
      Link Parent
      Yeah I ported some of my graphics projects to Zig from C++. The voxel raymarching stuff I was working on, lately. I like using Zig a lot more than Rust. Always being compared to Rust would...

      Yeah I ported some of my graphics projects to Zig from C++. The voxel raymarching stuff I was working on, lately.

      I like using Zig a lot more than Rust. Always being compared to Rust would probably be annoying if Zig had feelings, but I can't help it. Similar people investigate both languages for similar reasons, even though they don't claim to compete.

      3 votes
    2. FlippantGod
      Link Parent
      Yes, I've been toying around with it for a while now. Among other things I've ported matlab cv code, ported and fixed reverse engineered file readers for an obscure 3d format, and tried, failed,...

      Yes, I've been toying around with it for a while now. Among other things I've ported matlab cv code, ported and fixed reverse engineered file readers for an obscure 3d format, and tried, failed, and then successfully wrote a native windows gui.

      I also failed miserably at building a massive and convoluted c++ project with zig, but I'll try again sometime as it should technically be possible.

      Overall it's been very nice. Compared to Rust, it is not production ready and lacks Rust's huge volume of good libraries. However, I don't like suddenly having a dozen dependencies, and I also think Zig is much easier to reason about.

      Zig is starting to get a lot of love in low-level graphics, and continues to be great imo for embedded. I'd like to continue my cv and image processing work. I don't know yet what to think about the package manager on the roadmap.

      2 votes