Re:Modern C++ gamedev: thoughts and misconceptions
by pjmlp on Sunday May 17, 2020 @03:44AM
(#23210415)
Right now Rust eco-system still isn't as mature as C++ in what concerns integration with Java and .NET, and GPGPU programming. The domains I care about.
However with the support of companies like Microsoft, Rust will eventually get there.
By the way BUILD 2020 will have Rust sessions.
Re:Modern C++ gamedev: thoughts and misconceptions
by neutronicus on Saturday May 16, 2020 @07:33PM
(#23208100)
I would pick C++ for anything to do with high-performance linear algebra. There are a few other domains (desktop GUI, CAD) where I don't trust the Rust library ecosystem.
But, yeah, there are a ton of domains (notably embedded) where I would want Rust.
C++ also makes it way too easy to reach for shared_ptr instead of unique_ptr leading to all sorts of unfortunate things. Rust makes that much harder and RefCell/Rc/Arc push towards design that are "single owner" which I've found scale out much better once you move into programs that are of a significant complexity.
C++ still wins in portability on some platforms but I have a hard time picking it for anything greenfield at this point.