News for hackers. Stuff that matters.
Re:Pex: A tool for generating .pex (Python EXecutable) files... by forrestthewoods on Saturday November 16, 2024 @03:09AM (#42155194)
Docker exists because running a Python program is so brutally difficult that packaging up half an OS is the only way to reliably run them.
Re:Pex: A tool for generating .pex (Python EXecutable) files... by drowsspa on Saturday November 16, 2024 @11:53AM (#42157376)
I would say that it's not just a Python problem, Node.js or Ruby seems to have almost the same problems. I'd say Docker exists because packaging C/C++ dependencies is an impossible problem that hasn't been solved in 5 decades. The build tools absolutely suck.
Re:Pex: A tool for generating .pex (Python EXecutable) files... by sitkack on Saturday November 16, 2024 @01:14PM (#42157950)
It isn't just the build tools, Unix as the platform for Worse Is Better, has decided to never solve this problem. Docker solves the problem of a having an under powered broken dynamic linker.

Docker should have never been necessary.

Re:Pex: A tool for generating .pex (Python EXecutable) files... by forrestthewoods on Saturday November 16, 2024 @05:18PM (#42159871)
> under powered broken dynamic linker.

In your mind what would a good dynamic linker look like?

Re:Pex: A tool for generating .pex (Python EXecutable) files... by forrestthewoods on Saturday November 16, 2024 @01:23PM (#42158040)
> because packaging C/C++ dependencies is an impossible problem that hasn't been solved in 5 decades

C/C++ build systems suck. But deploying a C++ program is much much easier than Python. And Linux is waaaay worse than Windows for both building and deploying imho.