Hacker News new | ask | show | jobs
by mattkrause 2662 days ago
I guess... though I’ve always found C++ libraries to be light years easier to manage than python.

To be honest, the per-language package management seems wasteful and chaotic. I must have a dozen (mutually compatible) of numpy scattered around. And why is pip responsible for building FORTRAN anyway?

2 comments

You think dealing with C++ libraries is easier than "pip install <library>"?
The happy path (apt-get install, or even ./configure && make && make install) is about the same.

When things go sideways, I find troubleshooting pip a little trickier. Some of this might be the tooling, but there's a cultural part too: C++ libraries seem fairly self-contained, with fewer dependencies, whereas a lot of python code pulls in everything under the sun.

Yes, definitely. In C or C++, I use my distro's package manager to manage the libraries, not some other tool.
The only thing at the moment that comes close to filling this cross-language gap is the nix package manager I think.