Comment

Comment by linuxftw

Speaking from the linux distro perspective, this is not true.

You can develop an application in python that utilizes distro-supplied python libraries. If you package your library in .deb or .rpm, it's trivial to utilize the dependencies from the distro.

Otherwise, you can install from pypi via pip, and especially into a virtualenv. You can declare each dependency's specific version if you so choose. Modern distros support python2.7 and python 3.x.

If you're on some other operating system, yeah, using python sucks for you.

While it's fair to say python is not statically compiled, it's no different than managing dependencies in other dynamically linked software.

Unlike python, go applications have to be cross compiled. For the most part, native python code will run anywhere the interpreter runs.

In the world of containerized applications, vendoring dependencies is a moot point anyway. We're all shipping around big tarballs with everything baked in anyway, so go doesn't offer any advantages in that space other than smaller binary size.

Not to say that go doesn't have some advantages over python, but I think the dependency management problem is vastly overstated, at least when it comes to python.

parent linuxftw 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton