&gt; Because C++ compatibility is impossible without being a derivative of C++, and C++ is hopeless in the safety department. I believe it is impossible to make C++ memory safe without making it not C++ anymore.<p>Do you consider D to be a derivative of C++? I don&#x27;t. They have a near perfect C++ interface. D can even catch C++ exceptions. It&#x27;s pretty sweet. You can hear about the black magic Andrei used to get that to work here:<p><a href="http:&#x2F;&#x2F;cppcast.com&#x2F;2015&#x2F;10&#x2F;andrei-alexandrescu&#x2F;" rel="nofollow">http:&#x2F;&#x2F;cppcast.com&#x2F;2015&#x2F;10&#x2F;andrei-alexandrescu&#x2F;</a><p>Side note: I&#x27;m actually thinking the Rust and C++ comparison misses the mark. First of all, C++ cannot be obsoleted by rust, it&#x27;s economically impossible. Secondly, I don&#x27;t even think they compete in the same domain space. Rust is actually lower level than C++, in that it does lower level stuff in a more natural way. It&#x27;s C, that Rust makes obsolete; which is something C++ totally failed to do (because of it&#x27;s RTTI, exceptions, and other runtime features -- all things you and the rest of the Rust team intelligently scrapped). After trying embedded Rust, I&#x27;m completely done using C (and the C parts of C++).<p>IMO the advantages C++ still has over Rust are:<p>- libraries, libraries, libraries<p><pre><code>    - C++ has so many great libraries

    - *writing* C++ libraries with SFINAE sugar is the bees knees.
</code></pre>
- much better support and tooling, but this is for sure a temporary advantage.<p>- template meta-programming feels like a different language, it&#x27;s dynamic, functional, and the difference is refreshing. I like the mental switch you have to do to go from writing a C++ template to writing a C++ model.<p>- as much as header files suck, they let you skim an API much more easily than Rust or Swift.<p>- performant, memory safe data structures:<p>For example, it&#x27;s trivial to write a low overhead pointer that can&#x27;t dangle, throws an exception on nullptr deference, and that safely points to an object it doesn&#x27;t own (even if that object is its owner). With this and a unique_ptr composed with similar safety mechanisms you now have the primitives needed to write any data structures or algorithm so that it is protected from undefined and unsafe behavior, yet remains performant. This solution has significantly less overhead than using reference counted pointers like shared_ptr derivatives or Rc. The performance tradeoff over using raw pointers is minuscule and totally dwarfed by the gain in safety guarantees. From what I&#x27;ve observed, you can&#x27;t do this in Rust, if you try to write a doubly linked list you either have to use C-pointers that can dangle inside unsafe blocks, or eat the Rc overhead.<p>EDIT: How could I forget to mention the glory that is constexpr?<p>Advantages of Rust over C++ (again, IMO):<p>- the correct defaults (aka opposite of C&#x27;s insanity)<p>- best C++11 features built in and defaulted (move semantics, unique_ptr is Box&lt;T&gt;, Rc is shared_ptr etc..)<p>- Bad ass embedded capabilities. You don&#x27;t nearly feel as crippled like you do in C++ without the STL.<p>- the safety guarantees are real, and they&#x27;re awesome<p>- move semantics into closures looks so goddamn elegant. I love it<p>- inline assembly doesn&#x27;t feel like a hack<p>- modules and cargo rock<p>- secretly and surprisingly similar to ruby in a lot of places :)<p>- it wants you to think functionally, and unlike Swift, it means it. This is a good thing.