Clojure Persistent Data Structures

The cluster focuses on Clojure's persistent and immutable data structures, their features like structural sharing and efficiency, comparisons to other languages, and references to implementations inspired by works like Phil Bagwell's HAMTs and Chris Okasaki's book.

📉 Falling 0.5x Programming Languages
2,121
Comments
20
Years Active
5
Top Authors
#5042
Topic ID

Activity Over Time

2007
3
2008
15
2009
53
2010
97
2011
83
2012
88
2013
166
2014
174
2015
118
2016
122
2017
154
2018
114
2019
154
2020
172
2021
151
2022
123
2023
123
2024
94
2025
111
2026
6

Keywords

ADT FP RE www.cs clojure.org FWIW en.m CL i.e okasaki.pdf clojure data structures structures data persistent immutable functional vectors mutable data structure

Sample Comments

andsoitis Oct 31, 2025 View on HN

Is there another programming language that comes close to Clojure’s persistent data structures?

physicsyogi Aug 8, 2017 View on HN

Does this have Clojure's persistent data structures? The docs say it has immutable data structures, which isn't exactly the same thing. (Edit: added the second sentence)

eastWestMath Nov 2, 2017 View on HN

Clojure did not invent immutable data structures!!

william42 Jun 29, 2011 View on HN

Isn't Clojure still mostly functional and mostly based on persistent data structures?

synthc Jun 29, 2022 View on HN

Sounds like Clojure would alo have been a good fit (STM, persistent datastructures, functional)

TN1ck May 11, 2023 View on HN

What are the advancements since Clojure brought them to a mainstream language? More data structures got functional counterparts or better optimizations for “solved” ones like lists?

cutler Feb 25, 2025 View on HN

Clojure data structures implement structural sharing which minimises copying overhead.

agumonkey Nov 12, 2013 View on HN

IIUC they pulled out clojure's clojurescript projected core structures so you can use it ~pojo ?Recenlty I saw https://github.com/harukizaemon/hamster , similarly immutable, structure sharing, persistent data structuresIt's becoming mainstream ...

AlexCoventry Nov 28, 2017 View on HN

Wow, this plus a persistent data structures library could be almost as much fun as clojure!

sid0 Apr 4, 2011 View on HN

What "abstractions for concurrency and persistent data structures" does Clojure have that aren't there in Lisp, Scheme, ML or Haskell?