awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
Kotlin avatar

Kotlin/kotlinx.collections.immutable

0
View on GitHub↗
1,409 stars·68 forks·Kotlin·Apache-2.0·23 views

Kotlinx.collections.immutable

Kotlinx.collections.immutable is a persistent data structure library for Kotlin that provides immutable lists, sets, and maps for state management. It enforces strict immutability by exposing read-only interfaces that block unauthorized modifications at compile time, while persistent structural sharing allows modified copies to efficiently reuse underlying memory storage with the original collection.

Multiple insertions and removals can be batched through temporary mutable builder interfaces to instantly produce new persistent collections without intermediate allocations. Additionally, standard collections are transformed into immutable variants through zero-copy conversion by reusing existing underlying instances that already match the target type.

Features

  • Immutable Data Structures - Shares data safely across application components using persistent structures that prevent in-place modification and guarantee predictable state.
  • Kotlin Immutable Collection Libraries - Provides persistent, read-only lists, sets, and maps for safe state management in Kotlin applications.
  • Kotlin Immutability Extensions - Enforces strict immutability across lists, sets, and maps in Kotlin applications to prevent unauthorized modifications.
  • Collection Builders - Batches multiple insertions and removals through temporary mutable builder interfaces to instantly produce new persistent collections.
  • Bulk Mutable Builders - Batches multiple insertions and removals through temporary mutable builder interfaces to instantly produce new persistent collections without intermediate allocations.
  • Persistent Structural Memory Sharing - Creates modified copies of persistent data structures efficiently by sharing underlying memory storage with the original collection.
  • Type-Safe Immutability Enforcements - Enforces strict immutability across lists, sets, and maps by exposing read-only interfaces that block unauthorized modifications at compile time.
  • Persistent Data Structures - Enables memory-efficient data sharing by reusing underlying storage across modified copies of collection structures.
  • Structural Sharing - Reuses unchanged underlying structural nodes efficiently between modified copies of persistent data collections.
  • Immutable Collection Protections - Enforces strict immutability across lists, sets, and maps by exposing read-only interfaces that block unauthorized modifications.
  • Application State Management - Shares data safely across application components using persistent structures that guarantee predictable state.
  • Immutability Converters - Transforms standard read-only or mutable collections into immutable variants while reusing existing instances.
  • Kotlin - Maintains predictable application state through immutable and thread-safe collection structures.
  • Memory Efficiency Strategies - Creates modified copies of persistent data structures efficiently by sharing underlying memory storage with the original collection.
  • Zero-Copy Type Conversions - Transforms standard collections into immutable variants through zero-copy conversion by reusing existing underlying instances.

Star history

Star history chart for kotlin/kotlinx.collections.immutableStar history chart for kotlin/kotlinx.collections.immutable

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does kotlin/kotlinx.collections.immutable do?

Kotlinx.collections.immutable is a persistent data structure library for Kotlin that provides immutable lists, sets, and maps for state management. It enforces strict immutability by exposing read-only interfaces that block unauthorized modifications at compile time, while persistent structural sharing allows modified copies to efficiently reuse underlying memory storage with the original collection.

What are the main features of kotlin/kotlinx.collections.immutable?

The main features of kotlin/kotlinx.collections.immutable are: Immutable Data Structures, Kotlin Immutable Collection Libraries, Kotlin Immutability Extensions, Collection Builders, Bulk Mutable Builders, Persistent Structural Memory Sharing, Type-Safe Immutability Enforcements, Persistent Data Structures.

Which projects share features with kotlin/kotlinx.collections.immutable?

Projects with overlapping indexed features include: immutable-js/immutable-js — Immutable.js is a library of persistent data structures and a functional state management toolkit. It provides a… facebook/immutable-js — This is a persistent data structure library for JavaScript that provides collections which prevent the direct mutation… montagejs/collections — Collections is a JavaScript data structure library that provides unified interfaces for sets, maps, ordered sequences,… liuxinyu95/algoxy — AlgoXY is a functional programming educational book and technical publication produced as a LaTeX digital book. It… louthy/language-ext — language-ext is a functional programming framework for C# that provides a suite of immutable data structures and… apple/swift-collections — This library provides a collection of specialized data structures for the Swift language that extend the standard…

Projects sharing features with Kotlinx.collections.immutable

These projects share indexed features with Kotlinx.collections.immutable. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • immutable-js/immutable-jsimmutable-js avatar

    immutable-js/immutable-js

    33,060View on GitHub↗

    Immutable.js is a library of persistent data structures and a functional state management toolkit. It provides a collection of immutable objects and arrays that prevent direct mutation to ensure predictable state management in JavaScript applications. The library utilizes structural sharing to efficiently create new versions of data without full copying and implements lazy sequence processing to chain data transformations that execute only when values are requested. It also supports batch mutation processing, allowing multiple changes to be applied to a temporary mutable copy before returning

    TypeScript
    View on GitHub↗33,060
  • facebook/immutable-jsfacebook avatar

    facebook/immutable-js

    33,060View on GitHub↗

    This is a persistent data structure library for JavaScript that provides collections which prevent the direct mutation of objects and arrays. It serves as an immutable state management tool and functional programming utility, ensuring that data remains unchanged after creation to simplify change detection and state tracking. The library enables the maintenance of application state by producing new versions of data structures during updates. It focuses on efficient data comparison by checking actual content instead of memory references and supports a functional programming workflow to prevent

    TypeScript
    View on GitHub↗33,060
  • liuxinyu95/algoxyliuxinyu95 avatar

    liuxinyu95/AlgoXY

    6,325View on GitHub↗

    AlgoXY is a functional programming educational book and technical publication produced as a LaTeX digital book. It serves as a programming education resource and library focused on functional algorithms and data structures. The project provides a collection of persistent data structures, such as trees and heaps, designed for immutable state management. It includes a series of implementation exercises and verified answers to teach core computer science concepts through the practical application of functional logic. The content covers the design of persistent data structures and the implementa

    TeXalgorithmsfunctional-programminghaskell
    View on GitHub↗6,325
  • louthy/language-extlouthy avatar

    louthy/language-ext

    7,057View on GitHub↗

    language-ext is a functional programming framework for C# that provides a suite of immutable data structures and monadic types. It enables the implementation of pure functional programming patterns, utilizing containers to manage side effects, optional values, and error handling. The library is distinguished by its advanced concurrency and state management tools, including a software transactional memory system and lock-free atomic references. It also provides specialized utilities for distributed systems, such as vector clocks for causality tracking and deterministic data conflict resolution

    C#
    View on GitHub↗7,057
Compare all 30 related projects→

Curated searches featuring Kotlinx.collections.immutable

Hand-picked collections where Kotlinx.collections.immutable appears.
  • List processing library