3 ms·
I know Rust has things C++ doesn't have, and vice-versa. I don't see how that changes my argument that it's competing, though. Consider inheritance vs. traits.
by Veedrac 11y ago
I know Rust has things C++ doesn't have, and vice-versa. I don't see how that changes my argument that it's competing, though.
Consider inheritance vs. traits. Rust isn't able to stick with just traits because there are some things, though few, that are slightly faster with inheritance. So Rust is going to get some form of inheritance (in whatever form it might take). For every bit of functionality in C++, there is or will be some alternative in Rust, and that's by design.
The same is not at all true for Go.