Although I think that not having exceptions and inheritance are really big lackings, the thing is that there's such an anti-OOP backlash these days that large numbers of people will argue that Rust not having those are good things. I don't agree but lots of people would.
They do have generics. Not as extensive as C++, but this is one area where I'm no the other side of the fence and think that C++ has gone a bit over the edge on templates, meta-programming and compile time evaluation stuff. I'm not sure I'd want Rust to try to compete on that front.
Rust only has the basics of OOP. It has no implementation inheritance, which most folks would consider fundamental to OOP.
As to performance, that's hardly a particular issue. You can have both, as does C++. And of course Rust has lots of dynamic dispatch via Traits anyway.
24
u/AlexAlabuzhev Dec 07 '21
Without exceptions, templates, inheritance?
Good luck with that.