News for hackers. Stuff that matters.
Re:Python Is Eating the World by blattimwind on Monday August 12, 2019 @03:59AM (#20673423)
What if you are on Linux and your binary requires a slightly newer version of glibc for some reason etc.

Static, portable binaries on Linux are hard.

Re:Python Is Eating the World by jillesvangurp on Monday August 12, 2019 @04:39AM (#20673614)
That's why Docker is a good idea for packaging things up. You basically get exactly the combination of binaries, libraries, etc. you intend to run. Probably not a bad idea to use it for development as well. Or at least something like pyenv or whatever it is called these days.
Re:Python Is Eating the World by slaman on Monday August 12, 2019 @11:21AM (#20676201)
Docker saves some pain, but introduces others.

You have a container that will run anywhere, but it has a bigger attack surface and needs updates.

I also would disagree that it's easier than using virtual environments for development, and only for packaging in some narrow use cases.

Re:Python Is Eating the World by joosters on Monday August 12, 2019 @04:25AM (#20673545)
They aren't too bad IMO. However, you need to set up a build environment/VM with your choice of your earliest-supported Linux+glibc. Build on old, run on new works well.

Linux backwards-compatibility is pretty good, in that a static binary should run just fine on newer systems. I've had far worse experiences with OpenBSD, where a build on an older version of the OS would never seem to run on a newer system.

Re:Python Is Eating the World by dev_dull on Monday August 12, 2019 @10:15AM (#20675581)
> Static, portable binaries on Linux are hard.

That’s why it can’t be an afterthought. It must be baked into the language as part of the design (golang)

Re:Python Is Eating the World by saagarjha on Monday August 12, 2019 @07:57AM (#20674562)
Why would your binary require glibc if it’s statically linked?