News for hackers. Stuff that matters.
Re:How we made Haskell search strings as fast as Rust by T-R on Wednesday March 13, 2019 @04:19PM (#19383308)
The thesis of laziness by default isn't "everything should be lazy", just that there's some benefit to having strictness be something you add as necessary - maybe that it's easier to add strictness to something lazy than add laziness to something strict, that it gives you more abstraction power, or maybe increases surface area for optimizations.

Similarly, the existence of generators and zero-argument functions in Python doesn't undermine the idea that strictness by default could have benefits.

Re:How we made Haskell search strings as fast as Rust by j88439h84 on Wednesday March 13, 2019 @05:00PM (#19383719)
What's the significance of zero-argument functions in Python?
Re:How we made Haskell search strings as fast as Rust by lallysingh on Wednesday March 13, 2019 @05:23PM (#19383988)
That's a lazy-evaluated value, if the function is pure.