[Haskell-cafe] Re: Laziness leaks

Jules Bean jules at jellybean.co.uk
Thu Jun 5 02:26:32 EDT 2008

Achim Schneider wrote:
>  You don't come across space-leaks in strict programs often because
> data is usually allocated statically even if execution is non-strict.
> Piping /dev/zero into a program that just sleeps does leak space,
> though.

It only leaks 8K or whatever size your system buffers pipes until it 
suspends the writer though... or do I misunderstand your analogy?

More information about the Haskell-Cafe mailing list