4 comments

[ 4.0 ms ] story [ 16.1 ms ] thread
C++ is a horrible language and it needs to die.
Not a big fan of C++, but I find this rhetoric dangerous.

"We need to burn the government down and restart from scratch"

"This needs to die"

"..."

If you don't benefit from it, don't use it. But don't vandalise it, please.

I think the thing that will kill C++ will be what kills any programming language: ease of use by developers. People will always put security second to productivity and if it becomes apparent that problems typically reserved for C++ are easier to solve in rust, then people will leave rust for C++. If C++ is still the best way to do things like game engine development and work with specific APIs (i.e, most native windows code), then C++ will continue to exist.
There is just a lot of inertia. Rust fanboys completely ignore the fact that C++ is a lot more mature.

I have seen so much "the codebase is a disgrace, I bet we can rewrite everything in Rust in a couple weeks". Never materialised. Maybe starting with some humility would have helped, I don't know.

Willing to burn down everything in order to use the new shiny tool is a junior move. Rust is sometimes a better fit, C++ is sometimes a better fit. With time, Rust (or I think more Rust + other modern languages) may replace C++ almost everywhere. No need to get violent about it.