Decision Workspace
shmcache vs shm-primitives vs xchannel
Side-by-side comparison of Rust crates
41
shmcache
experimentalv0.1.0
A lock-free cache in POSIX shared memory, shared across processes with no daemon
58
shm-primitives
growingv7.3.0
Lock-free primitives for shared memory IPC: BipBuffer, slot metadata, and OS-level doorbell/mmap
56
xchannel
growingv7.0.0
mmap-backed IPC channels with regionized layout, alignment-safe headers, and file rolling.
Core Metrics
| shmcache | shm-primitives | xchannel | |
|---|---|---|---|
| Health Score | 41 | 58 | 56 |
| Total Downloads | 19 | 2.0K | 3.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 26 | 16 |
| Releases | 1 | 15 | 24 |
| Last Updated | 65d ago | 193d ago | 3d ago |
| Age | 2m | 9m | 11m |
Health Breakdown
shmcache
Maintenance
9
Quality
14
Community
6
Popularity
2
Documentation
10
shm-primitives
Maintenance
11
Quality
18
Community
10
Popularity
4
Documentation
15
xchannel
Maintenance
19
Quality
12
Community
9
Popularity
4
Documentation
12
Technical Details
| shmcache | shm-primitives | xchannel | |
|---|---|---|---|
| Version | 0.1.0 | 7.3.0 | 7.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | GPL-3.0-only | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 4 | 5 |
| Crate Size | 36KB | 39KB | 150KB |
| Features | 1 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 12.5% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.91 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •shm-primitives leads with a health score of 58/100, but none of the options score above 80.
- •xchannel has the most downloads (3.2K), suggesting wider adoption.
- •shmcache is pre-1.0 — API may change.