Hacker News new | ask | show | jobs
by deepsun 647 days ago
Yes, I feel you. As I said, we often need to sacrifice immutability to performance, and that's ok. If they insisted using immutable structures in high-performance applications, then functional programming won't help anyway.
1 comments

Hopefully we won't have to make that trade off for too long

https://www.microsoft.com/en-us/research/uploads/prod/2020/1...

Even reference counting needs memory management. Granted, allocations are very fast on the JVM heap, but cannot be faster than no allocations.
Came here to write this.

There's also a (research) language that uses the Perceus algorithm: https://koka-lang.github.io/