The distinction I’ve heard is that Zig is a “better C” and Rust is a “better C++.” I haven’t done a lot of programming in any of these languages, but as an outsider it certainly seems apt.
These can be true, while at the same time, “Rust is a better C.”
Zig and Rust have a lot of the same and a lot of different stuff to offer. I drank the Rust koolaid, but I thought for a long time Zig or Nim would be the most popular C alternative.
It’s all about the macros, it seems. Rust’s macros are not the best in the world, but they are really good.
That's not a good analogy. Zig shares much blood with C, but Rust doesn't share much blood with C++. Though, from the complexity view, Rust can be viewed as another C++ (or C+++).
Zig and Rust have a lot of the same and a lot of different stuff to offer. I drank the Rust koolaid, but I thought for a long time Zig or Nim would be the most popular C alternative.
It’s all about the macros, it seems. Rust’s macros are not the best in the world, but they are really good.