3 ms·
It's a response to Rust. Rust is significantly better than C++, and most importantly it's the first language that could actually replace C++ for the things C++
by IshKebab 3y ago
It's a response to Rust. Rust is significantly better than C++, and most importantly it's the first language that could actually replace C++ for the things C++ is generally used for.
I guess the C++ community is coming to terms with not being the top dog of "zero-cost abstraction" languages anymore.
Really I think it's too late for C++. They had literal decades to fix very basic flaws, and they just haven't done it.
Accidental octal literals. Case fall-through. Missing `return`s. Accidental string literal addition. The whole module system mess.
They focused way too much on adding complex features and not at all on fixing footguns. As a result C++ is painful and dangerous. Too late to fix IMO.