<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/stately-a-kotlin-multiplatform-library-bfw7ytkll" -->

---
title: Stately, a Kotlin Multiplatform Library | daily.dev
description: Stately is a Kotlin Multiplatform library providing frozen, thread-safe collection classes (CopyOnWriteList, SharedLinkedList, SharedHashMap, SharedLruCache)...
canonical: https://daily.dev/posts/stately-a-kotlin-multiplatform-library-bfw7ytkll
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Stately, a Kotlin Multiplatform Library | daily.dev
og:description: Stately is a Kotlin Multiplatform library providing frozen, thread-safe collection classes (CopyOnWriteList, SharedLinkedList, SharedHashMap, SharedLruCache)...
og:url: https://daily.dev/posts/stately-a-kotlin-multiplatform-library-bfw7ytkll
og:image: https://api.daily.dev/og/posts/Bfw7YtkLL.png
og:image:alt: Stately, a Kotlin Multiplatform Library
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stately, a Kotlin Multiplatform Library

**[Touchlab](https://daily.dev/sources/touchlab)** · 7 min read · 0 upvotes · 0 comments

## Summary

Stately is a Kotlin Multiplatform library providing frozen, thread-safe collection classes (CopyOnWriteList, SharedLinkedList, SharedHashMap, SharedLruCache) and utilities for Kotlin/Native concurrency. It works within Kotlin/Native's two core concurrency rules — mutable state owned by one thread, and shared state must be immutable (frozen) — by using atomic classes to allow mutation inside frozen objects. The library is intended for sparse use cases like global service objects and caches, not as a general escape hatch from Native's concurrency model. Only macOS and iOS Native targets are fully supported at release, with JS support pending test wiring.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://touchlab.co/stately-kotlin-multiplatform-library>

---

Tags: [#kotlin](https://daily.dev/tags/kotlin)

[View this post on daily.dev](https://daily.dev/posts/stately-a-kotlin-multiplatform-library-bfw7ytkll)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Stately, a Kotlin Multiplatform Library","url":"https://daily.dev/posts/stately-a-kotlin-multiplatform-library-bfw7ytkll","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/stately-a-kotlin-multiplatform-library-bfw7ytkll"},"datePublished":"2026-08-02T07:15:48.927Z","dateModified":"2026-08-02T07:40:18.536Z","description":"Stately is a Kotlin Multiplatform library providing frozen, thread-safe collection classes (CopyOnWriteList, SharedLinkedList, SharedHashMap, SharedLruCache)...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a35958d07a8689fbfb7db98c5e1ef28b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a35958d07a8689fbfb7db98c5e1ef28b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Touchlab","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Touchlab","logo":"https://media.daily.dev/image/upload/s--CQ0u6GwB--/f_auto,q_auto/v1785654902/logos/touchlab?_a=BAMAMicg0","url":"https://daily.dev/sources/touchlab"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/stately-a-kotlin-multiplatform-library-bfw7ytkll","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kotlin","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Touchlab","item":"https://daily.dev/sources/touchlab"},{"@type":"ListItem","position":3,"name":"Stately, a Kotlin Multiplatform Library"}]}
```

