3 ms·
Over C#: * Garbage collectors often scare game developers since they can lead to hard-to-fix latency spikes. * Rust has some cool libraries (specs, rayon, etc
by rainbow-road 6y ago
Over C#:
* Garbage collectors often scare game developers since they can lead to hard-to-fix latency spikes.
* Rust has some cool libraries (specs, rayon, etc.) that let you safely parallelize computation.
Over C++:
* It's a memory-safe language, which instantly avoids tons of bugs.
* Library interfaces are usually higher-level in Rust than in C++, for various reasons (sum types being a big one).
* It's a much smaller language, so there aren't any dark corners that you'll randomly be forced to learn.
* It has an easy-to-use package manager, and I'm not sure where C++ is on that front.
- PrototypeNM1 6y ago> * It has an easy-to-use package manager, and I'm not sure where C++ is on that front. In the inescapable hell of n+1 competing standards.
- adamnemecek 6y agoYou mean that every langauge has its own package manager?
- ashtonkem 6y agoI think they mean that C++ isn’t one thing, it varies a lot by the specific compiler and version you’re using.
- ShinTakuya 6y agoI think they mean that people keep coming along and saying "the existing N competing standards suck, let's make a new one everyone can use" and now there's N+1 competing standards. A reference to this xkcd https://xkcd.com/927/ https://xkcd.com/927/
- ShinTakuya 6y agoTo clarify, for C++ specifically.
- cstrahan 6y agoNo, rather C++ has many competing package managers, none of which have majority buy in from the C++ community. To name a few: https://github.com/cpp-pm/hunter https://github.com/cpp-pm/hunter https://conan.io/ https://conan.io/ https://docs.microsoft.com/en-us/cpp/build/vcpkg?view=vs-2019 https://docs.microsoft.com/en-us/cpp/build/vcpkg?view=vs-201... https://buckaroo.pm/ https://buckaroo.pm/