Re:Rust vs. Haskell
by zozbot234 on Tuesday February 14, 2023 @09:38AM
(#34789910)
You are not forced into any design choice. You can use explicit reference counting to enable closure captures to add to object lifetime, or even a lightweight tracing GC implementation (such as the recently developed Samsara https://redvice.org/2023/samsara-garbage-collector/ ) to collect cycles as Haskell does. Of course, Rust makes the performance tradeoffs involved quite clear, even though the implementations it can use are quite possibly leaner than Haskell's.
[ Parent
| on HN ]
There are no comments on this comment yet.