kotlinx.collections.immutable VS java-immutable-collections

Compare kotlinx.collections.immutable vs java-immutable-collections and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
kotlinx.collections.immutable java-immutable-collections
10 2
1,062 41
4.0% -
7.3 8.3
3 days ago 23 days ago
Kotlin Java
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

kotlinx.collections.immutable

Posts with mentions or reviews of kotlinx.collections.immutable. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-11.
  • I had a great experience with Scala and hopefully it will get more popular
    10 projects | /r/scala | 11 Jul 2023
    So does Java! Also, kotlinx.collections is still not stable and I don't think they are intending to make it so any time soon.
    10 projects | /r/scala | 11 Jul 2023
  • what is the best persistent collection library?
    5 projects | /r/java | 2 Sep 2022
    kotlinx.collections.immutable it's a kotlin-focused collections library, but it can absolutely work with Java, especially because it extends the standard collection interfaces, so you can simply get an iterator from it
    5 projects | /r/java | 2 Sep 2022
    What I know is only based on this discussion. It seems that pcollections is really outdated and should not be considered.
  • A personal Kotlin guide for Java developers
    2 projects | /r/Kotlin | 24 Mar 2021
    If you want true immutable collections, kotlinx.collections.immutable provides them. They will likely be integrated into the language eventually with value classes and better immutability support.
  • Scala is a Maintenance Nightmare
    5 projects | /r/programming | 22 Mar 2021
    I could see this argument made with Clojure, but I don't really see what makes Scala significantly better at FP than Kotlin. Kotlin has an official persistent data structures library nowadays, and it's got lambdas and higher order functions.
  • What are your concerns and pet peeves about Kotlin so far?
    2 projects | /r/Kotlin | 18 Jan 2021
    It's not immutable, it's read-only, https://kotlinlang.org/docs/reference/collections-overview.html . I think that's a false assumption. But I get the point - immutable collections are not part of the std - for very good reasons. But we know each other, I assume that you will disagree :) For people who know what they want and know all the implications, there is https://github.com/Kotlin/kotlinx.collections.immutable .

java-immutable-collections

Posts with mentions or reviews of java-immutable-collections. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-02.
  • what is the best persistent collection library?
    5 projects | /r/java | 2 Sep 2022
    I'm not sure which one is best, but I always wanted to give https://github.com/brianburton/java-immutable-collections and/or https://github.com/lacuna/bifurcan (which, strictly speaking, does not satisfy your requirements, read the description).

What are some alternatives?

When comparing kotlinx.collections.immutable and java-immutable-collections you can also consider the following projects:

Exposed - Kotlin SQL Framework

jimmer - A revolutionary ORM framework for both java and kotlin.

geni - A Clojure dataframe library that runs on Spark

sbt - sbt, the interactive build tool

MapDB - MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.

cats - Lightweight, modular, and extensible library for functional programming.

semver - Semantic Versioning Specification

kotlin-cli-chat - A personal Kotlin guide for Java developers. A simple chat with a command-line interface only to collect what I have found effective in Kotlin language

awesome-scala - A community driven list of useful Scala libraries, frameworks and software.

data-structures - A collection of powerful data structures

bifurcan - functional, durable data structures

Paguro - Generic, Null-safe, Immutable Collections and Functional Transformations for the JVM