4 ms·
By using libcurl. I run a distributed c++ database and it's one of the most stable components of our stack. Java and Ruby tend to break much more often. Also, y
by fxtentacle 6y ago
By using libcurl. I run a distributed c++ database and it's one of the most stable components of our stack. Java and Ruby tend to break much more often. Also, you wouldn't want to use Python without any packages, so why insist on the same with c++?
- ackbar03 6y agoIs there some sort of standard / commonly accepted way to manage packages for c++? In python its as simple as pip install + import, and the community is generally in agreement with the best library to use with good documentation. Is there some sort of similar tools I can use for c++?
- reanimus 6y agoYour system package manager, usually, along with something to detect/configure dependencies (autotools, CMake, etc). CMake can be set up to automatically download missing dependencies in some cases, too, and I think there are some other build systems that provide this sort of functionality. But there's not some standard packaging system a la pip or cargo or the like.
- barumi 6y ago> Is there some sort of standard / commonly accepted way to manage packages for c++? As others have pointed out, CMake is the de facto standard in C++. However, a combination of CMake with Conan seems to take care of most of anyone's needs. The downside is that the availability of C++ packages in Conan tends to be very limited.
- boris 6y agoThere is build2[1] and libcurl is available[2] from cppget.org, its package repository. [1] https://build2.org https://build2.org [2] https://cppget.org/libcurl https://cppget.org/libcurl
- srikz 6y agoThere are many. But none of them are considered the ‘default’ way to do it. vcpkg[1] by Microsoft is the newest kid on the block which is gaining some traction. Apart from that Conan[2] seems to be the (relatively) popular one. There’s also Hunter[3] which builds on top of CMake. [1]: https://github.com/microsoft/vcpkg https://github.com/microsoft/vcpkg [2]: https://conan.io https://conan.io [3]: https://github.com/cpp-pm/hunter https://github.com/cpp-pm/hunter