HN Hall of Fame Weekly email

Understanding Clojure's Persistent Vectors, pt. 1 (2013)

hypirion.com Books & learning Tutorials & guides Computer science Candidate
Screenshot of hypirion.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 10 calendar years, with breakout response in 2 of them.

submissions
15
submitters
12
observed span
2013–2026
peak thread · 27 comments
114 pts
latest 20+ return · 2026-04-10
114 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

IMHO, this is one of the coolest aspects of Clojure: the data structures were designed to be immutable as efficiently as possible. This allows for some of the most critical aspects of the language to function. If you're whole program passes around values that are immutable, you don't ever have to worry about which part of the code owns what. Rust is such a different language but the borrow-checker is solving a nearly identical problem: who owns this memory and…

gleenn·114-point thread·

Does anyone have benchmarks comparing the performance of Clojure's PersistentVectors to standard arrays in Java and/or C? O(1) is pretty useless if the constant factor is huge. Anecdotally, I've heard that they are "fast" but it would be interesting to know what that really means.

Persistent data structures are, in my opinion, underrated. Not so much for every day programming tasks, but specifically for code that resembles planning/searching. Here is one library I've heard of https://immutable-js.com/ . I don't know of others.

Related from 2014: https://news.ycombinator.com/item?id=8503912 Discussed at the time: https://news.ycombinator.com/item?id=6445628

dang·14-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
346

reference only — not used in Hall rules or ranking

Total comments
66

reference only — not used in Hall rules or ranking

Every submission