Comment Re:Maybe Rust would be a Much Better Choice (Score 1) 139
Even GCC developers consider several features of C++ to be difficult/dangerous/inefficient. Just look at the current GCC Coding Conventions Rationale and Discussion
Here some gems:
"Multiple inheritance is confusing and rarely useful. When it is needed though, there may be no substitute. Seek guidance, review and feedback from the wider community."
"Using virtual functions increases the size of instances of the class by at least one pointer. In heavily allocated types, such as trees, GIMPLE or RTL, this size increase could have adverse performance impacts."
"Virtual functions are implemented as indirect function calls, which can inhibit some optimization, particularly inlining. Therefore virtual functions should be added in heavily allocated classes only after size and performance studies."
"Default arguments cause confusion when attempting to take the address of a function. They clause client code taking the address of a function to break when a default argument is replaced by a specialized overload. So, default arguments should generally not be used in customer-facing interfaces. Consider function overloading instead."
"Disabling RTTI will save space in the compiler."
"The current compiler code is not exception safe."
"Disabling exceptions will permit the compiler itself to be slightly more optimized."
"Aborting the compiler is a reasonable response to unexpected problems."