News for hackers. Stuff that matters.
Re:Pex: A tool for generating .pex (Python EXecutable) files... by emmelaich on Friday November 15, 2024 @04:15PM (#42151178)
> .war for python

It shouldn't be that hard to get a general 'jar/war', not just for python.

Perhaps jart's cosmolitan libc with a zip file appendage which it auto extracts and optionally caches on first use.

A heavyweight solution, but still lighter than Docker.

Re:Pex: A tool for generating .pex (Python EXecutable) files... by BiteCode_dev on Friday November 15, 2024 @05:01PM (#42151675)
It would today, because macos requires signing, and windows has "the mark of the web".

They don't apply to scripts, so Python is fine, but they do apply to executables.

Having to sign your zip every time you produce it would nullify the benefit of the concept. And because the checksum of the executable file change according to the content of the zip, you can't just sign the cosmopolitan part.

Re:Pex: A tool for generating .pex (Python EXecutable) files... by emmelaich on Friday November 15, 2024 @09:18PM (#42153569)
You can work around both, but I agree that's a big point of friction.