2 ms·
Cargo is definitely a more pleasant build system than anything the C/C++ world has, until you fall off the happy path. One of the pain points of trying to desi
by jcranmer 4y ago
Cargo is definitely a more pleasant build system than anything the C/C++ world has, until you fall off the happy path.
One of the pain points of trying to design a build system for C/C++ is that a lot of projects do weird stuff that needs to be supported in build systems, which means you end up needing escape hatches to do that weird stuff all over the place. Cargo takes a narrower view, which means it doesn't attempt to do things like package things for install or handle multi-stage builds. It also has the advantage that things like running tests or package dependencies were built in from the start, so it doesn't have to try to support a million different tools that provide that functionality.
- pornel 4y agoI think Cargo is more of a social success than a technical one. People just agreed to use one standard tool, and that does wonders. Technically nothing stops C++ from having the same, except getting everyone to agree on one tool.