|
|
|
|
|
by twoodfin
4570 days ago
|
|
I am a Haskell outsider, but I've heard SPJ say several times that laziness is what enabled/forced Haskell to stay pure. My understanding is that even advanced Haskell programmers struggle with predicting the runtime cost in space and time of the laziness that bought purity. That unpredictability is highly undesirable in a systems language. There are certainly ways to have purity without laziness, but it's not straightforward for Rust to adopt the Haskell model, I think. |
|