by Zambyte · 1y ago · 0 comments
They also have a few pillars that they call the "Zen" of Zig[0], of which three out of the first five are directly related to readability.
Rust is its own thing, it has none of the extensive baggage of C++, and doesn't appear to be set to reach that level of baggage at any point in time soon if ever. It's a much cleaner, clearer, and easier to reason about programming language.
Both seem to have their place in the ecosystem to me, but I'm really excited to see Zig mature.
You'll want to expand on and clarify your meaning here, as Rust does not have inheritance.
so, yes, i agree learning zig is a great idea for new independent projects but (at the current stage) be prepared to also learn at least enough about C to use C libraries (return type conventions, raw enums, c-style strings, inflexible allocators).