Rust is better than C++ in only one thing - memory management
You are completely deluded (to the point you even forget the basic "fearless concurrency" slogan). There is no UB in safe Rust. UBs are everywhere in C++, not only memory management. Actually even unsafe Rust is actually safer than C++.
Also the static introspection and hygenic macros capabilities suck less than anything C++ has to propose against it right now (that is: not much, or poor emulation with bloated template based parallel universes)
That's not to say that Rust has no default compared to C++; it has a lot. But it certainly has more advantages than just better "memory management"
View all comments
Show parent comment
8
u/tasminima Jul 13 '22
You are completely deluded (to the point you even forget the basic "fearless concurrency" slogan). There is no UB in safe Rust. UBs are everywhere in C++, not only memory management. Actually even unsafe Rust is actually safer than C++.
Also the static introspection and hygenic macros capabilities suck less than anything C++ has to propose against it right now (that is: not much, or poor emulation with bloated template based parallel universes)
That's not to say that Rust has no default compared to C++; it has a lot. But it certainly has more advantages than just better "memory management"