Re:What if anything have we learned from C++? [video]
by acqq on Friday July 24, 2015 @05:52AM
(#9940948)
It appears according to the abstract that it beats other languages while being implemented as "just a library":
"Our library-only implementation (...) For many uses, it equals or outperforms equivalent code in languages with built-in type-switching constructs, such as OCaml and Haskell"
In my opinion major weakness of C++ is just that the linker features more or less remained out of the language design. Turbo Pascal already shown eons ago the advantages of having modules instead of obj files. The slowness of compilation is still the major problem of C++ compared to the languages like Turbo Pascal and more recently Go.
A paper from the man himself on getting a type switch in C++ almost as fast as what you get in OCaml. http://www.stroustrup.com/OOPSLA-typeswitch-draft.pdf
Lot's of other places where he's omitting things because he wants to plug C++.
Also, he also seems to be confused between "an efficient language" and "a language that allows you to create something that runs efficiently".