Kotlin/kotlinx.collections.immutable
Immutable persistent collections for Kotlin observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 99
- Release rhythm 59
- 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: 206.5
- age_days: 3751
- days_rel: 62
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
1417 stars · 72 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Kotlin Multiplatform library providing immutable and persistent collection interfaces and efficient implementations (lists, sets, maps) with structural sharing. It is an official JetBrains kotlinx library supporting JVM, JS, WASM, and Kotlin/Native targets.
Use cases
- use immutable lists and maps in Kotlin
- persistent data structures with structural sharing
- share collections safely across threads without locking
- efficient copy-on-write collections for Compose state
- multiplatform collections for Kotlin/Native and JS
- build collections efficiently with persistent builders
When to choose
- you need guaranteed immutability for thread safety or functional-style code
- you use Jetpack Compose or Compose Multiplatform where stable immutable collections improve performance
- you want efficient non-destructive updates via persistent data structures
- you need the same collection semantics across all Kotlin Multiplatform targets
When to avoid
- you only need simple read-only views and standard Kotlin List/Set/Map suffice
- you need mutable, high-throughput collection mutation where persistent overhead matters
- you are not working in Kotlin or on the JVM/JS/Native targets
Facets
library · maturity active
serialization developer-tools programming-languages developer-tools cross-platform jvm wasm kotlin-multiplatform persistent-data-structures immutable-collections jetbrains android ios
10 sources
- readme: https://github.com/Kotlin/kotlinx.collections.immutable · fetched 2026-08-28 · 328016631080
- homepage: https://kotlinlang.org/api/kotlinx.collections.immutable/ · fetched 2026-08-29 · 5f2df1d22627
- site_page: https://kotlinlang.org/docs/android-overview.html · fetched 2026-08-29 · eee2641adc4c
- site_page: https://kotlinlang.org/docs/home.html · fetched 2026-08-29 · 79765d7a6b62
- site_page: https://kotlinlang.org/docs/multiplatform/get-started.html · fetched 2026-08-29 · e48dd2fd41c8
- site_page: https://kotlinlang.org/docs/api-references.html · fetched 2026-08-29 · 6ee90bcab394
- site_page: https://kotlinlang.org/docs/getting-started.html · fetched 2026-08-29 · b98a86bae0bd
- site_page: https://kotlinlang.org/docs/contribute.html · fetched 2026-08-29 · 3b3064342ea5
- site_page: https://kotlinlang.org/docs/releases.html · fetched 2026-08-29 · 3aaf77e63243
- site_page: https://kotlinlang.org/docs/security.html · fetched 2026-08-29 · 282d77b6fd03
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Kotlin/kotlinx.collections.immutable | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="Kotlin/kotlinx.collections.immutable")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem