zlacker

[parent] [thread] 3 comments
1. 9029+(OP)[view] [source] 2025-07-28 16:18:20
I wonder if cosmopolitan libc[0] could be leveraged to create an actually portable executable™ without a rewrite, looks like someone has figured out compiling python 3.11.4 with it[1]

[0] https://github.com/jart/cosmopolitan

[1] https://ahgamut.github.io/2021/07/13/ape-python/

replies(2): >>leobus+4c >>sull+MCa
2. leobus+4c[view] [source] 2025-07-28 17:21:33
>>9029+(OP)
I have a small/insane project of mine, I wrote a compiler for Python (strict and static subset only) to WebAssembly (bc-to-bc approach, 1:1 CPython compat due to walking internals), than I do wasm2c to sandbox it + pledge and compiling with cosmopolitan into a miniature standalone thing (fast as hell). Just because you have zero dependencies and it's a pure Python and properly typed, lemme try next weekend as PoC. No promises, but this message clicked in my heart
replies(1): >>noman-+HF
◧◩
3. noman-+HF[view] [source] [discussion] 2025-07-28 19:59:12
>>leobus+4c
<subscribe>
4. sull+MCa[view] [source] 2025-08-01 05:00:22
>>9029+(OP)
on it
[go to top]