Hacker News new | ask | show | jobs
by slopinthebag 74 days ago
ironically rust has fewer features than c++ and zig has more than c
2 comments

Give it a chance! Rust hasn't even had its bar mitzvah yet and C++ is already buying a Porsche during its midlife crisis.

Yes, on paper zig has more features than C, but what zig has is explicitness. C has a big murky space of implicitness. For example, there might be 5 different zig features which can be used at various times you might use a void* in C, buy the conceptual space of void* fully contains(and then some) the spaces of those zig features.

Everything has less features than c++. There's probably no spec that's more bloated with all the (unimplemented) junk that has been piled onto it.