Re:C++11 FAQ
by kazinator on Thursday January 26, 2017 @03:12PM
(#13494860)
C++ still cannot compete with proper high level languages in this area.
C++ is precisely useful because it's a better C: it has a C-like subset, and works directly with C data structures and function call interfaces. Plus it has features to do that kind of programming in a safer, more managed way.
I would absolutely not use C++ for anything that isn't in the area of "this should be ideally written in C, but that would bring in undue difficulties, risks and time".
The more C++ moves away from its focus of being a language for writing low-levelish systems middleware, the more it loses its relevance.
> Also, you have a ref counted pointer thread safe pointer!
C++ is precisely useful because it's a better C: it has a C-like subset, and works directly with C data structures and function call interfaces. Plus it has features to do that kind of programming in a safer, more managed way.
I would absolutely not use C++ for anything that isn't in the area of "this should be ideally written in C, but that would bring in undue difficulties, risks and time".
The more C++ moves away from its focus of being a language for writing low-levelish systems middleware, the more it loses its relevance.
> Also, you have a ref counted pointer thread safe pointer!
Had those in 1997 using draft ISO C++, thanks.