Decision Workspace
hamming vs hamming-bitwise-fast vs simd-popcnt
Side-by-side comparison of Rust crates
51
hamming
growingv0.1.3
Count ones, fast (aka popcount, hamming weight). This provides a performant popcount and bitwise hamming distance for a slice of bytes.
58
hamming-bitwise-fast
growingv1.1.0
Fast bitwise Hamming distance using auto-vectorization with runtime SIMD detection on x86.
53
simd-popcnt
experimentalv1.0.0
Fast bit population count (number of 1 bits) of a byte slice using POPCNT, AVX2, AVX512, ARM NEON and ARM SVE.
Core Metrics
| hamming | hamming-bitwise-fast | simd-popcnt | |
|---|---|---|---|
| Health Score | 51 | 58 | 53 |
| Total Downloads | 1.9M | 91.3K | 86 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 133 | 14 | 0 |
| Releases | 4 | 2 | 4 |
| Last Updated | 3951d ago | 142d ago | 72d ago |
| Age | 11y 4m | 1y 9m | 3m |
Health Breakdown
hamming
Maintenance
8
Quality
16
Community
9
Popularity
7
Documentation
11
hamming-bitwise-fast
Maintenance
10
Quality
19
Community
8
Popularity
6
Documentation
15
simd-popcnt
Maintenance
14
Quality
20
Community
5
Popularity
2
Documentation
12
Technical Details
| hamming | hamming-bitwise-fast | simd-popcnt | |
|---|---|---|---|
| Version | 0.1.3 | 1.1.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 8 | 0 |
| Crate Size | 10KB | 34KB | 21KB |
| Features | 1 | 2 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2024 |
| MSRV | — | 1.61 | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hamming-bitwise-fast leads with a health score of 58/100, but none of the options score above 80.
- •hamming has the most downloads (1.9M), suggesting wider adoption.
- •hamming is depended on by 133 crates — strongest ecosystem trust.
- •⚠ hamming has not been updated in over a year.
- •hamming is pre-1.0 — API may change.