Re:Why Rust Is the Future of Game Development
by ncmncm on Wednesday November 11, 2020 @09:25PM
(#25065725)
Numerous features, with more arriving every third year. Operator overloading, exceptions, partial specialization, template function overloading, overridden move constructors, concepts...
[ Parent
| on HN ]
Re:Why Rust Is the Future of Game Development
by steveklabnik on Thursday November 12, 2020 @12:59AM
(#25066942)
Yes, there are many features that C++ has that Rust doesn't have, but "the devs say there never will be" is a different story. For example:
* Operator overloading: Rust already does this
* Exceptions: this is true, Rust will not do this.
* Partial specialization: is in nightly, will be made stable
* Template function overloading: not in Rust, nobody has said "never" though it is controversial
* overridden move constructors: this is true, it won't happen
* concepts: traits are already concepts and exist today.
The situation is significantly different than you've presented. We do have several features that we need to catch up to C++ in areas, but the big ones are on the way. It's more minor or stylistic, rather than capabilities, that are maybe not gonna be a thing.