Re:There's still no silver bullet
by Karrot_Kream on Tuesday June 27, 2023 @05:59PM
(#36499244)
At a 5000 ft level, I think it makes sense. C++ strives for zero-cost abstractions and lots of complexity with a side effect of making development more tractable for large teams with varying levels of familiarity with the codebase. Rust does the same thing, but uses different tools and levels.
C has much lower language complexity but also requires longer onboarding times for engineers new to a project, at the cost of some sharp footguns that an experienced practitioner can avoid. Zig relative to Rust falls closer to this than a zero-cost abstraction based high-complexity language.
Obviously the devil is in the details and Zig and C are very different languages, but I think the analogy stands well.
No, they don't relate at all in the same way. (And that's not to mention the lack of consensus about what Rust is to C++...)
That being said - Zig is quite the interesting language.