On Apr 28, 2008, at 5:09 PM, Daniil Elovkov wrote:

Somewhat on the topic of optimistic evaluation, I've just thought of another way to evaluate thunks.

When the program is about to block on some IO, what if we start a thread to evaluate (any) unevaluated thunks. We'll have additional system thread, but the blocked one will not actually consume any processor time.

Seems like this would be bad in cases where the programmer is trying to exploit laziness, such as using infinite lists, no?

- Jake
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to