Hacker News new | ask | show | jobs
by nickelpro 1224 days ago
Cargo is not de facto better than vcpkg. That Rust has a blessed package manager instead of community of competing package managers is a lateral, neither better nor worse.
1 comments

Vcpkg? Never heard of it. 90% of C++ project I saw were using make. Remainder were using cmake.

> community of competing package managers is a lateral, neither better nor worse.

While I understand your position, that's not my opinion. Having one way to build a package is a blessing. Having had to juggle Python's competitive package manager is a nightmare.

https://imgs.xkcd.com/comics/python_environment_2x.png

Each one has slightly different usages and they are mostly compatible but then you run into edge cases.

-----

And lack of blessed libs is something I am strongly against.

Rust doesn't have standardized time lib and everyone is suffering for it.

Except for grpc that uses bazel! I know two teams where I work, one uses vcpkg, but the other uses conan. Our company as a whole points to conan as the answer, but mostly everyone uses cmake and git submodules. That is why a single blessed package manager is better than many, none of them play well together. And that is ignoring hunter and meson. I don't know what the gp is talking about.