logoalt Hacker News

slopinthebagtoday at 4:30 PM1 replyview on HN

ironically rust has fewer features than c++ and zig has more than c


Replies

IncreasePoststoday at 5:54 PM

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.