I've spent far more time writing c++ than rust and i still couldn't tell you how to correctly set up a third party library for a c++ project, yet i use dozens of them for my rust projects. maybe it's a skill issue but convenience matters!
Comments
Log in with your Bluesky account to leave a comment
I feel the same way. In C++ every library has its own instructions for how to use it, and they often differ subtly in annoying ways that lead to problems. In Rust you just add one line to Cargo.toml
Exactly! I had precompiled static libs and git submodules - in the same project! Plus you have to have a build system (I used premake.) There was also a script that set up some env vars that were needed by one dependency.
I've been in game dev for a long time, and almost every game engine I've ever worked in trends towards writing their own C++ libraries that are hyper-optimized for their platform(s) and use cases. A great package manager is wonderful (EA has one!), but I think somewhat less of a draw for game dev.
Comments
A little toml config eliminated all of that.