News for hackers. Stuff that matters.
Re:Rust as a gateway drug to Haskell by snovv_crash on Wednesday June 14, 2017 @08:18AM (#14552162)
In other languages when the compiler misses an optimization you get a constant order penalty on a small piece of code.

In Haskell when the compiler misses an optimization the performance hit is potentially unbounded, as it could think anything is a dependency. (You want the first N digits of pi? Just wait while I calculate all of them for you...)

Re:Rust as a gateway drug to Haskell by codygman on Thursday June 15, 2017 @02:55AM (#14558434)
> You want the first N digits of pi? Just wait while I calculate all of them for you...

I don't think that example cold actually happen, or at least I can't see how it would happen in Haskell.