6

I love C and C++ but their dependency management stuck, there’s a package manager for them which offers a nice experience comparable to Go or Rust?

Comments
  • 2
    There is Conan but I have no idea how good it is.
  • 1
    @iiii i read an article that the german irs is using it for the development of the client lib for its electronic tax system
  • 3
    Be happy that there isn't such a thing - because you see with NPM where it goes once it's "so easy" to incur dependencies. You don't get a solution for your maybe ten dependencies.

    Instead, you get an ecosystem where you suddenly download random shit from all over the internet and have no idea what code your project even contains.

    Also, C/C++ aren't just for short-lived web trash. That stuff sometimes needs to build ten years later in that exact form. That's also a drawback with Rust where you see it was conceived in a web shithole.
  • 1
    Yeah it's really one of the worst sides of C and C++.
    It's such a pain to deal with all the different build systems every library uses and make them all play nice in your project.

    There are a couple. I've tried Conan and vcpkg and both were ok
Add Comment