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.
62
hamming-bitwise-fast
stablev1.1.0
Fast bitwise Hamming distance using auto-vectorization with runtime SIMD detection on x86.
50
simd-popcnt
experimentalv0.2.1
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 | 62 | 50 |
| Total Downloads | 1.7M | 76.9K | 56 |
| 30d Downloads | 32.5K | 4.6K | 0 |
| Dependents | 126 | 12 | 0 |
| Releases | 4 | 2 | 3 |
| Last Updated | 3863d ago | 54d ago | 7d ago |
| Age | 11y 1m | 1y 6m | 12d |
Health Breakdown
hamming
Maintenance
8
Quality
16
Community
9
Popularity
7
Documentation
11
hamming-bitwise-fast
Maintenance
14
Quality
19
Community
8
Popularity
6
Documentation
15
simd-popcnt
Maintenance
14
Quality
17
Community
5
Popularity
2
Documentation
12
Technical Details
| hamming | hamming-bitwise-fast | simd-popcnt | |
|---|---|---|---|
| Version | 0.1.3 | 1.1.0 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 8 | 0 |
| Crate Size | 10KB | 34KB | 23KB |
| 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 62/100, but none of the options score above 80.
- •hamming has the most downloads (1.7M), suggesting wider adoption.
- •hamming is depended on by 126 crates — strongest ecosystem trust.
- •⚠ hamming has not been updated in over a year.
- •hamming, simd-popcnt are pre-1.0 — API may change.