Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Purely Functional Data Structures[1] by Chris Okasaki is worth reading. There's a book version if you prefer vs reading a thesis.

Even though the domain application is functional programming, these datastructures can come in handy when you want to enable state sharing / keeping old versions around without having to copy data.

[1] https://www.cs.cmu.edu/~rwh/students/okasaki.pdf



I loved the "Numerical Representations" chapter, on deriving new data structures by analogy to number bases.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: