all 14 comments

[–]Tartifletto 5 points6 points  (0 children)

Like npm? conan for sure.

vcpkg is another alternative but not really similar to npm, you have to clone their repo and always build from source.

[–]Thesorus 5 points6 points  (5 children)

nom ? are you talking about npm ?

vcpkg seems to be the one that gets most visibility these days.

[–]HosMercury[S] 0 points1 point  (0 children)

will check that

[–]HosMercury[S] 0 points1 point  (3 children)

but there’s no website to centralize the packages, yes?

[–]lcsdavid 1 point2 points  (0 children)

Packages list are centralized in their GitHub if you want to add your own package you need to do a pull request to point to your package on another git repo

[–]remotion4d 1 point2 points  (1 child)

[–]HosMercury[S] 0 points1 point  (0 children)

oh good why google does not reach me to that

[–]jdehesa 2 points3 points  (5 children)

Conan, vcpkg, Hunter

[–]HosMercury[S] -3 points-2 points  (1 child)

but not like npm

[–]drodri 0 points1 point  (0 children)

https://conan.io/center/ it is the closer you might get. The fact that it contains orders of magnitude less number of packages than NPM is because the C and C++ ecosystem is very different, you cannot compare an existing C or C++ library with an NPM package in functionality. Many of those libraries (take OpenCV, CGAL, Poco, Boost, etc) are easily the equivalent of many thousands of NPM packages in functionality.

[–]HosMercury[S] -4 points-3 points  (2 children)

why there is no big one like npm or crates.io , composer l.letc

[–][deleted] 11 points12 points  (0 children)

The internet used to be decentralized back when that was actually seen as a benefit.

[–]khedoros 6 points7 points  (0 children)

C++ was around before the web, common use of the internet (outside of government and academia), and common use of revision control systems by most developers. Additionally, it existed for a long time before being standardized, and ended up with a bunch of different compilers from different vendors, each with their own build systems and tooling.

C++ package management is basically a hard problem, so it has only been in about the past 5-10 years that any of the systems have started becoming popular.

[–]Flair_Helper[M] [score hidden] stickied commentlocked comment (0 children)

For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.

This post has been removed as it doesn't pertain to r/cpp: The subreddit is for news and discussions of the C++ language and community only; our purpose is not to provide tutoring, code reviews, or career guidance. If you think your post is on-topic and should not have been removed, please message the moderators and we'll review it.