Global Feed Post Login
Replying to Avatar fiatjaf

One thing I never fully understood was how can immutable types in purely-functional languages be performant at all. They can't possibly rely on copying all the time to remain "immutable", right? So what is the trick?

Avatar
jespada 2y ago

This a good write up of how Clojure does it https://hypirion.com/musings/understanding-persistent-vector-pt-1

Reply to this note

Please Login to reply.

Discussion

7d
Petite Badger 2y ago

Or listen to the man himself. His talks are good. https://youtu.be/toD45DtVCFM

Thread collapsed