Re:C++ by Example
by ComplexSystems on Thursday September 22, 2022 @12:35PM
(#32941304)
I'm surprised this comments section isn't made up of people talking about how we should never use C++ again and only use Rust from now on.
[ Parent
| on HN ]
That only happens in specially marked Rust-advocacy posts.
More people pick up C++ to use professionally in any given week than the total population of working Rust coders. Rust is practically invisible outside hipster media.
[dead]
It's a hard language and people like to get paid for easy work... you don't have to dig into it much deeper than that.
I've written too many LOC in C++ and I'll still gladly take a Python job as it requires 10% cognition but I'm under no illusion as to why I picked it.
We should minimize the use of C and C++, and use safer languages instead, regardless of which.
However in many domains the only mature options are C and C++, in which case my option will always be C++.
There are lots of areas where Rust is still quite behind managed languages and C++, in IDE tooling, libraries, infrastructure.