cosmopolitan/tool
Justine Tunney ca4cf67eb8
Include more programs in cosmocc
The Cosmopolitan Compiler Collection now includes the following programs

- `ar.ape` is a faster alternative to `ar rcsD` for creating determistic
  static archives. It's ~10x faster than GNU because it isn't quadratic.
  It'll even outperform LLVM ar by 2x, thanks to writev/copy_file_range.

- `sha256sum.ape` is a faster alternative to the `sha256sum` command. It
  goes 2x faster since it leverages vectorized assembly implementations.

- `resymbol` is a brand new program we invented, like objcopy, that lets
  you rename all the global symbols in a .o file to have a new suffix or
  prefix. In the future, this will be used by cosmocc automatically when
  building -O3 math kernels, that need to be vectorized for all hardware

- `gzip.ape` is a faster version of the `gzip` command, that is included
  by most Linux distros. It gains better performance using Chromium Zlib
  which, once again, includes highly optimized assembly, that Mark Adler
  won't merge into the official MS-DOS compatible zlib codebase.

- `cocmd` is the cosmopolitan shell. It can function as a faster `sh -c`
  alternative than bash and dash as the `SHELL = /opt/cosmocc/bin/cocmd`
  at the top of your Makefile. Please note you should be using the cosmo
  fork of GNU make (already included), since normal make won't recognize
  this as a bourne-compatible shell and remove the execve() optimization
  which makes things slower. In some ways that's true. This doesn't have
  a complete POSIX shell implementation. However it's enough for cosmo's
  mono repo. It also implements faster behaviors in some respects.

The following programs are also introduced, which aren't as interesting.
The main reason why they're here is so Cosmopolitan's mono repo shall be
able to remove build/bootstrap/ in future editions. That way we can keep
build utilities better up to date, without bloating the git history much

- `chmod.ape` for hermeticity
- `cp.ape` for hermeticity
- `echo.ape` for hermeticity
- `objbincopy` is an objcopy-like tool that's used to build ape loader
- `package.ape` is used for strict dependency checking of object graph
- `rm.ape` for hermeticity
- `touch.ape` for hermeticity
2024-07-01 02:05:25 -07:00
..
args Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
build Include more programs in cosmocc 2024-07-01 02:05:25 -07:00
cosmocc Include more programs in cosmocc 2024-07-01 02:05:25 -07:00
curl Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
decode Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
emacs Introduce more CTL content 2024-06-27 22:42:32 -07:00
hello Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
lambda Rewrite memory manager 2024-06-22 05:45:11 -07:00
net Do more quality assurance work 2024-06-24 06:53:49 -07:00
plinko Rewrite memory manager 2024-06-22 05:45:11 -07:00
scripts Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
viz Rewrite memory manager 2024-06-22 05:45:11 -07:00
zsh Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
BUILD.mk more modeline errata (#1019) 2023-12-16 23:07:10 -05:00