announcing superlinker, a tool for reinterpreting ELF executables and shared libraries https://github.com/whitequark/superlinker
GitHub - whitequark/superlinker: a tool for reinterpreting ELF executables and shared libraries

a tool for reinterpreting ELF executables and shared libraries - whitequark/superlinker

GitHub

so, it turns out I created a method of producing fully self-contained portable distributions of Python that support arbitrary native modules and don't require recompiling anything https://github.com/whitequark/superlinker?tab=readme-ov-file#python

I accidentally

GitHub - whitequark/superlinker: a tool for reinterpreting ELF executables and shared libraries

a tool for reinterpreting ELF executables and shared libraries - whitequark/superlinker

GitHub
I think the cherry on top is that it has a flawlessly functioning built-in instance of libreadline, where I have previously had readline break on a normal native system where it was installed from a package manager
@whitequark TIL that an elf and zip file smacked together end to end is a valid elf and valid zip file and I don't know how to feel about this
@whitequark was there any use case you had in mind before, or was it just for the funnies?
@whitequark did you tried that yet, does it work?
@4censord it's a lot more complicated than Thicc Xenia, unfortunately
@whitequark I am slightly scared that I might actually use that

@whitequark oh no

$ cat py.elf py.zip >py.run
$ chmod +x py.run

@whitequark super cool, reminds me of wcc https://github.com/endrazine/wcc
GitHub - endrazine/wcc: The Witchcraft Compiler Collection

The Witchcraft Compiler Collection. Contribute to endrazine/wcc development by creating an account on GitHub.

GitHub
@whitequark Shouldn't this be tagged as kink? 🤔
@whitequark well that's cursed and delightful. If rust ran on Solaris 10 SPARC, we would give thta a spin on there to see if it worked there too
@whitequark Go easy on the eldritch knowledge