apple/swift-atomics
Low-level atomic operations for Swift observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 96
- Release rhythm 58
- Longevity 100
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: 384
- age_days: 2162
- days_rel: 71
- days_push: 28
- n_releases_24m: 2
Adoption not part of the score
1203 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift package providing low-level atomic operations for integers, pointers, and other types, enabling lock-free synchronization constructs. It is largely superseded by the standard library's Atomic type in Swift 6.0 but remains supported for existing code.
Use cases
- implement lock-free counters in swift
- build synchronization primitives in swift
- atomic integer operations across threads
- implement concurrent data structures in swift
- migrate legacy swift atomics code to stdlib
When to choose
- maintaining existing Swift code that depends on this package
- supporting Swift versions before 6.0 that lack stdlib atomics
- building low-level synchronization constructs on older Swift toolchains
When to avoid
- starting new Swift 6.0+ projects - use the standard library's Atomic type instead
- you need high-level concurrency tools rather than raw atomics
- you are not comfortable with the pitfalls of low-level memory ordering
Facets
library · maturity maintenance
concurrency developer-tools developer-tools programming-languages cross-platform atomics synchronization lock-free memory-ordering swift-package swift
1 source
- readme: https://github.com/apple/swift-atomics · fetched 2026-08-28 · 0d8bd3b00025
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apple/swift-atomics | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="apple/swift-atomics")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem