cksum: binary with aws-lc is 2.4 MB smaller than vendored openssl & md5 and sha1 are faster
Open
Nobody has claimed this yet.
U - cksum
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
I tested similar hack with https://github.com/uutils/coreutils/pull/14559 on Linux. Then I got
cksum with aws-lc (no jitter): 4.6 MB
cksum with static openssl: 7.0 MB
cksum with system openssl: 2.3 MB
Also linkage against system openssl is still possible even if aws-lc feature is set via OPENSSL_NO_VENDOR=1.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the related approach in uutils/coreutils#14559 and the cksum build configuration. Reproduce the aws-lc, vendored OpenSSL, and system OpenSSL size measurements, including OPENSSL_NO_VENDOR=1. Done means documenting or implementing the linkage and dependency choice while preserving cksum behavior and checking the reported binary-size and MD5/SHA1 performance differences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, cli, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100