Comment by stackghost
6 hours ago
I will concede that compile times in C++ do indeed suck.
But surely managing dependencies with e.g. vcpkg is no worse than with fpm?
6 hours ago
I will concede that compile times in C++ do indeed suck.
But surely managing dependencies with e.g. vcpkg is no worse than with fpm?
I haven't used vcpkg, but looking at their tutorial at https://learn.microsoft.com/en-us/vcpkg/get_started/get-star..., it seems you still have to use cmake, and if so, it is indeed more complex than fpm (https://fpm.fortran-lang.org/tutorial/hello-fpm.html) where you don't use cmake. Fpm is similar to Cargo. Cargo is indeed as simple as fpm. However, as I mentioned above, this is just a tooling issue, somebody can (and should!) write Cargo for C++. In fact, fpm can build C++ projects also.
The best package manager that I like the most for C++ is Pixi (https://pixi.prefix.dev), that works really well.