logoalt Hacker News

shevy-java • today at 5:44 AM • 3 replies • view on HN

C++ is in a strange position.

If you look at "let's use AI to rewrite xyz in Rust", then C++ has to wonder why it isn't as often mentioned compared to Rust here. I am not saying AI should be the future, but merely compare why Rust is cited here more frequently than C++. That's just one of many other things. Rust also got popular due to crates. How is the alternative called in C++? Barely anyone outside the C++ community knows. And that's also a problem.

C++ isn't going away anytime soon, of course, but when people keep on mentioning alternatives again and again then it shows that the competition intensifed a lot.


Replies

thatxliner • today at 5:55 AM

> How is the alternative called in C++?

what is it though? vcpkgs/decentralized repositories?

➕ show 1 reply
scotty79 • today at 6:03 AM

Why would anyone want to rewrite anything in C++ given they can choose anything else? Like Rust or Go or C or Zig or literally anything else.

➕ show 1 reply
4k0hz • today at 5:55 AM

[dead]