Ross ROSS = Recommend OSS · open-source software intelligence for agents

uber-go/atomic

Wrapper types for sync/atomic which enforce atomic access observed · 2026-10-20

github.com/uber-go/atomic · homepage · Go · MIT (permissive) observed · 2026-10-20

Health v2 · maintenance only

87/100

  • Activity 100
  • Release rhythm 63
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3803
  • days_rel: 34
  • days_push: 2
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1455 stars · 117 forks observed · 2026-10-20

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Go library providing wrapper types for primitive types that enforce atomic access, offering a safer and more convenient API than the standard library's sync/atomic package. It preserves all sync/atomic functionality while making it harder to accidentally access variables non-atomically.

Use cases

  • safely share counters across goroutines
  • enforce atomic access to primitive variables in Go
  • replace error-prone sync/atomic usage with type-safe wrappers
  • implement lock-free counters and flags
  • avoid data races on shared numeric state

When to choose

  • you need atomic operations on primitives in Go and want compile-time safety
  • your team struggles with remembering which variables require atomic access
  • you want convenient methods like Store, Add, and CompareAndSwap on typed values

When to avoid

  • you only need simple mutex-protected state and prefer standard library only
  • you need atomic operations on complex structs rather than primitives
  • you are not writing Go

Facets

library · maturity stable

concurrency developer-tools developer-tools go cross-platform atomic-operations sync type-safety go-library algorithms

2 sources

Member repositories

RepositoryRoleHealth v2
uber-go/atomicmain87

For agents

markdown · JSON · MCP: product_card(name="uber-go/atomic")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem