You raised an issue that the other bulletpoint has the solution for, I really don't see how these are "key differences".
In Rust there always only one owner while in C++ you can leak ownership if you are using shared_ptr.
That's what unique_ptr would be for. If you don't want to leak ownership, unique pointer is exactly what you are looking for.
In Rust you can borrow references you do not own safely and in C++ there is no gurantee a unique_ptr can be shared safely.
Well yeah, because that's what shared_ptr is for. If you need to borrow references, then it's a shared lifetime. If the code doesn't participate in lifetime, then ofcourse you can pass a reference safely even to whatever a unique_ptr points to.
The last bulletpoint, sure that's a key difference, but it's partially incorrect. I deal with performance (as well as write Rust code professionally), this set of optimizations isn't so impactful in an average large codebase. There's no magical optimization that can be done to improve how fast objects get destroyed, but what you can optimize is aliasing issues, which languages like C++ and C have issues with (which is why vendor specific keywords like __restrict
exists). This can have profound impact in very small segments of your codebase, though the average programmer is rarely ever going to run into that case.
I don't agree with what this proposal is aiming to do (and goes against prior EU related privacy rulings), but unfettered free speech isn't as "free" as the average American thinks it is, besides that the EU already doesn't have free speech. Many regions ban Nazi related speech for obvious historical reasons.
I'd reconsider using America's "free speech" as a model as they barely practice what they preach. Sure they have free speech, but they lack privacy protection mechanisms that then allow their police to skirt the rules and obtain evidence using tools that completely breach the veil of privacy, something many EU countries (including my own) have voted can never be used. The scope of intel gathering their intelligence community is capable of already is at a level where privacy no longer exist and all you're left with is the illusion of it.
What I'm saying is, sure this proposal is bad, but what we need isn't free speech, but protected privacy. Something the EU is having some decent success with already (compare to the US where this is conveniently forgotten as technology improves, see the earlier police argument to see what that leads to). Speech isn't going to be the only problem, as cameras achieve the ability to do facial recognition and track you everywhere (something I know EU is/has banned, see the "AI act"), and more technology allows for other types of tracking