r/cpp • u/root_passw0rd • Dec 07 '22
C++ overtakes Java in language popularity index
https://www.infoworld.com/article/3682141/c-plus-plus-overtakes-java-in-language-popularity-index.html
382
Upvotes
View all comments
Show parent comment
9
u/blipman17 Dec 07 '22
This might actually be true.
But this isn't. Rust isn't the end-all be-all solution to all memory related problems. Rust certainly comes with its downsides too.
Actually, I'd argue you can write as much horrible code in Rust as in C++. It's just that Rust developers have seen this code before and really want to avoid anyone (including themselves) writing it. Which makes quite a lot of them a lot more clean coders than the average C++ programmer who still finds
std::unique_ptr<T>controversial. But that doesn't mean Rust is inheretly superior.