Decision Workspace
xarc vs atomptr vs optx-stm
Side-by-side comparison of Rust crates
35
xarc
growingv0.3.0
`xarc` provides atomically swappable atomically refcounted smart pointers as a safer building block for lockfree algorithms than raw atomic pointers. `Xarc` is comparable to `Arc` but with the additional ability to atomically be swapped into and out of `AtomicXarc`. `Xarc` is dereferenceable but cannot have its contents atomically swapped. `AtomicXarc` can have its contents atomically swapped but is not dereferenceable.
54
atomptr
growingv3.2.0
A safe copy-on-write wrapper around `AtomicPtr` with some extra tricks
48
optx-stm
experimentalv0.1.2
Hybrid Software Transactional Memory (STM) library exploring NOrec vs TL2 tradeoffs
Core Metrics
| xarc | atomptr | optx-stm | |
|---|---|---|---|
| Health Score | 35 | 54 | 48 |
| Total Downloads | 4.7K | 23.5K | 29 |
| 30d Downloads | 34 | 2.0K | 4 |
| Dependents | 25 | 7 | 0 |
| Releases | 3 | 14 | 2 |
| Last Updated | 1773d ago | 212d ago | 55d ago |
| Age | 5y 6m | 5y 4m | 1m |
Health Breakdown
xarc
Maintenance
4
Quality
8
Community
10
Popularity
4
Documentation
9
atomptr
Maintenance
9
Quality
22
Community
8
Popularity
5
Documentation
10
optx-stm
Maintenance
11
Quality
16
Community
6
Popularity
2
Documentation
13
Technical Details
| xarc | atomptr | optx-stm | |
|---|---|---|---|
| Version | 0.3.0 | 3.2.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MPL-2.0 | EUPL-1.2 OR Apache-2.0 | MIT |
| Dependencies | 5 | 0 | 3 |
| Crate Size | 13KB | 10KB | 24KB |
| Features | 0 | 1 | 2 |
| Yanked % | 33.3% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •atomptr leads with a health score of 54/100, but none of the options score above 80.
- •⚠ xarc has not been updated in over a year.
- •xarc, optx-stm are pre-1.0 — API may change.