cosmopolitan/tool/decode
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
..
lib Clean up more code 2023-06-18 01:00:05 -07:00
ar.c Clean up some code 2022-08-20 12:32:51 -07:00
base64.c Make redbean SSL more tunable 2021-08-09 07:38:57 -07:00
decode.mk Clean up more code 2023-06-18 01:00:05 -07:00
dumpvdso.c Remove malloc() dependency on pledge() / unveil() 2022-07-24 21:51:37 -07:00
elf.c Rewrite Cosmopolitan Ar 2023-07-02 10:19:16 -07:00
ent.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
hex.c Change license 2020-12-27 17:18:44 -08:00
macho.c Implement more toolchain fixes 2023-06-18 05:39:31 -07:00
mkcombos.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
mkwides.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
pe2.c Implement more toolchain fixes 2023-06-18 05:39:31 -07:00
peboff.c Initial import 2020-06-15 07:18:57 -07:00
scrubdox.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
unhex.c Initial import 2020-06-15 07:18:57 -07:00
word.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
x86opinfo.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
xor.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
zip.c Implement more toolchain fixes 2023-06-18 05:39:31 -07:00
zip2.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00