| Obligatory disclaimer that I'm not trolling or trying to start a flame war. I have dismissed Zig in the past in favor of Rust. But I've since found Rust difficult to keep up with since it's developing so rapidly and I don't use it daily. Zig seems like it has similar goals to Rust, but with a gentler learning curve. I know the Zig community isn't as big as Rust's, but maybe I wrote off Zig too soon. Anyone know of any objective comparisons out there? Is Zig gaining traction in a similar space to Rust? |
I have only really kick the tyres, but it seems to me that Zig is to C what Rust is to C++, ie they both try to be the next-gen with better safety and features, but Rust's type modeling is more extensive than, and can contain complexity better than Zig, in the same way that C++ OOP is better than raw C.
Zig has a good future though, and the metaprogramming facilities are superior to most languages IMO.