cosmopolitan/tool
Justine Tunney 559b024e1d Decentralize Python native module linkage
We can now link even smaller Python binaries. For example, the hello.com
program in the Python build directory is a compiled linked executable of
hello.py which just prints hello world. Using decentralized sections, we
can make that binary 1.9mb in size (noting that python.com is 6.3 megs!)

This works for nontrivial programs too. For example, say we want an APE
binary that's equivalent to python.com -m http.server. Our makefile now
builds such a binary using the new launcher and it's only 3.2mb in size
since Python sources get turned into ELF objects, which tell our linker
that we need things like native hashing algorithm code.
2021-09-07 11:40:11 -07:00
..
build Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
decode Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
emacs Implement tree-shaking for Python sources 2021-09-05 01:20:03 -07:00
hash Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
net Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
scripts Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
viz Improve logger API (#262) 2021-09-03 21:14:26 -07:00
tool.mk Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00