vorner/arc-swap
Support atomic operations on Arc itself observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 89
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3078
- days_rel: n/a
- days_push: 66
- n_releases_24m: 0
Adoption not part of the score
1408 stars · 52 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust library providing atomic operations on Arc pointers, effectively an Atomic<Arc<T>>. It is optimized for read-mostly, write-seldom scenarios with consistent performance, similar to RwLock<Arc<T>> but lock-free for readers.
Use cases
- atomically swap shared configuration at runtime
- read shared state without locking in Rust
- replace RwLock<Arc<T>> with faster read-mostly synchronization
- hot-reload immutable data structures concurrently
- share a pointer across threads with atomic updates
When to choose
- you need lock-free reads of shared Arc data with occasional writes
- you want consistent, predictable performance for read-heavy workloads
- you need to atomically swap configuration or cached shared objects
When to avoid
- you need frequent writes with complex in-place mutation
- you can simply use RwLock or Mutex without performance concerns
- you need atomics on non-Arc types
Facets
library · maturity stable
concurrency developer-tools rust cross-platform arc atomic lock-free read-mostly shared-state algorithms
2 sources
- readme: https://github.com/vorner/arc-swap · fetched 2026-08-28 · ac6a84fa980c
- registry_crates: https://crates.io/api/v1/crates/arc-swap · fetched 2026-08-29 · 18669e19c360
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vorner/arc-swap | main | 72 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem