|
|
|
|
|
by axilmar
4376 days ago
|
|
Not really. The term "complete replacement" does not refer to the implementation details, but to the features the language provides. It's quite possible not only to offer a complete C++ replacement but to also substantially improve on C++ on all aspects. |
|
Probably the strongest point of C++, besides its performance, is its ability to interact with C easily and efficiently.
A huge amount of C++'s complexity comes from this requirement, but the benefits are enormous. It's such a big deal that MS eventually just started recommending people use C++/CLI to interop with C instead of using the usual C# Interop methods.
Too many people underestimate the extreme advantages that are still gotten today by that requirement.
The rest of it, yes, you could, but not that specific requirement. Doing that efficiently and easily enforces certain restrictions on the language, and the underlying runtime.