Re:What’s in a Continuation (2016)
by kazinator on Sunday July 02, 2017 @11:02AM
(#14682776)
Functions that don't know anything about continuations cannot support the capturing of continuations across them.
A function that has arguments on the stack and really returns and all that will not be happy if it invokes a callback and that callback is actually a continuation of yours that doesn't return. You have stuff on the stack that hasn't been cleaned away.
A function that has arguments on the stack and really returns and all that will not be happy if it invokes a callback and that callback is actually a continuation of yours that doesn't return. You have stuff on the stack that hasn't been cleaned away.