Kotlin/kotlinx-atomicfu
The idiomatic way to use atomic operations in Kotlin observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 74
- Longevity 100
Flags: no_license
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: 42
- age_days: 3313
- days_rel: 96
- days_push: 8
- n_releases_24m: 10
Adoption not part of the score
1109 stars · 86 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AtomicFU is a Kotlin multiplatform library and compiler plugin providing idiomatic, efficient atomic operations and locks across JVM, Native, JS, and Wasm. Atomic values are written as boxed values but compiled down to efficient platform-specific primitives like Java field updaters.
Use cases
- use atomic variables in Kotlin multiplatform code
- implement lock-free concurrent data structures in Kotlin
- share mutable state safely across coroutines
- replace java.util.concurrent atomics with multiplatform equivalents
- add reentrant locks to Kotlin/Native and JS code
- compile atomics to efficient field updaters on JVM
When to choose
- you need atomic operations in Kotlin Multiplatform projects targeting JVM, Native, JS, or Wasm
- you want idiomatic Kotlin APIs for atomics and locks with efficient compiled output
- you are building concurrent libraries or coroutine-based systems in Kotlin
When to avoid
- your project uses Kotlin older than 2.2.0 or Gradle older than 8.2 and cannot upgrade
- you only target the JVM and prefer plain java.util.concurrent.atomic classes
- you need strict API stability guarantees, since the plugin is in beta
Facets
library · maturity active
concurrency developer-tools programming-languages developer-tools cross-platform jvm wasm cross-platform kotlin-multiplatform atomic-operations compiler-plugin locks jetbrains nodejs
1 source
- readme: https://github.com/Kotlin/kotlinx-atomicfu · fetched 2026-08-28 · 7fa8bcfc7b79
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Kotlin/kotlinx-atomicfu | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="Kotlin/kotlinx-atomicfu")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem