
28 Apr
2008
28 Apr
'08
6:56 p.m.
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