cosmopolitan/build/bootstrap
Justine Tunney 0c630d95b5
Rewrite Cosmopolitan Ar
The build/bootstrap/ar.com program is now tinier. This change reduces
its size from 140kb to 53kb. Nothing was traded away. Cosmopolitan Ar
performance is now 2x better than llvm-ar largely thanks to using the
copy_file_range() system call. This change homebrews a new allocation
API that addresses the shortcomings of the C standard library design.
Using these new balloc() and reballoc() functions I managed to reduce
memory consumption so much that Cosmpolitan Ar should now use roughly
100x fewer bytes of peak resident memory compared to llvm-ar. Correct
behavior with better compatibility has been assured. Binary output is
now pretty much bit-identical to llvm-ar, as of this change. This can
and should be the living proof we need to show that a better world is
possible for software.
2023-07-02 10:19:16 -07:00
..
ape.elf Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
ape.macho Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
ar.com Rewrite Cosmopolitan Ar 2023-07-02 10:19:16 -07:00
chmod.com Fix MODE=aarch64 build 2023-06-08 05:17:37 -07:00
cocmd.com Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
compile.com Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
cp.com Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
echo.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
fixupobj.com Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
gzip.com Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
make.com Update build/bootstrap/make.com 2023-07-01 18:37:19 -07:00
mkdeps.com Make mkdeps more helpful when files are missing 2023-02-23 08:11:08 -08:00
mkdir.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
package.com Rewrite Cosmopolitan Ar 2023-07-02 10:19:16 -07:00
pwd.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
rm.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
touch.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
unbundle.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
zipcopy.com Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
zipobj.com Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00