Get the latest tech news

A proof-of-concept Python executable built on Cosmopolitan Libc (2022)


Gautham's Blog

Update (2022-07-27): This post describes a proof-of-concept Python executable (2.7.18 and 3.6.14) built on Cosmopolitan Libc, which allows it to run on six different operating systems (Linux, Mac, Windows, NetBSD, FreeBSD, OpenBSD). Since February, I’ve been trying to understand how Cosmopolitan works, reading the repo code and submitting PRs occasionally, and finally I have an actually portable version of Python 2.7.18 (and 3.6.14) – you can build it from the repository here. ( 2022-07-27: now the Cosmopolitan monorepo builds python.com via a Makefile, checks import dependencies at link-time, runs the Python test suite, and adds all files to the APE internal ZIP store ready-to-use).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Related news:

News photo

Pylyzer – A fast static code analyzer and language server for Python

News photo

Shape typing in Python

News photo

Fedora 41 Looks To "-O3" Optimizations For Its Python Build