r/programming • u/yogthos • May 15 '18
Demystifying functional programming (in a real company)
https://medium.com/building-nubank/demystifying-functional-programming-in-a-real-company-e954a2591504
127
Upvotes
r/programming • u/yogthos • May 15 '18
4
u/matthieum May 16 '18
What's the performance cycles-wise?
As far as I know, the biggest issue with persistent data-structures is that representing arrays efficiently is an exercise left to the reader. There are multiple possibilities (finger-trees?), however I've never found one with performance anywhere close to a plain dumb array.
And this is a big issue, because the most efficient data-structures are built on top of arrays, as arrays play so nicely with CPU caches.