Re:Bevy: A data-driven game engine and app framework built i...
by PrototypeNM1 on Tuesday August 11, 2020 @08:37PM
(#24127519)
> * 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.
Re:Bevy: A data-driven game engine and app framework built i...
by adamnemecek on Tuesday August 11, 2020 @11:46PM
(#24128427)
You mean that every langauge has its own package manager?
Re:Bevy: A data-driven game engine and app framework built i...
by cstrahan on Wednesday August 12, 2020 @11:58AM
(#24133351)
No, 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://docs.microsoft.com/en-us/cpp/build/vcpkg?view=vs-201...
Re:Bevy: A data-driven game engine and app framework built i...
by ashtonkem on Wednesday August 12, 2020 @02:47AM
(#24129218)
I think they mean that C++ isn’t one thing, it varies a lot by the specific compiler and version you’re using.
Re:Bevy: A data-driven game engine and app framework built i...
by ShinTakuya on Wednesday August 12, 2020 @03:57AM
(#24129591)
I 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/
Re:Bevy: A data-driven game engine and app framework built i...
by ShinTakuya on Wednesday August 12, 2020 @03:58AM
(#24129598)
To clarify, for C++ specifically.
* 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.