Question about continuations in the VM
renggli at gmail.com
Mon Apr 25 06:14:55 UTC 2005
> Hello all. I've read that Continuations support needed some VM changes,
> this is true? If it is, someone can point me (a grosso modo) where are
> those changes?
there are no changes to the VM necessary to support continuations in
Squeak. Download the package Seaside (www.seaside.st) and have a look
at the class Continuation.
As you can see in the source, there is no magic involved: the
execution stack is traversed from within a loop
(#initializeFromContext:) and its contents is copied into an array.
Resuming the continuation (#value: and #restoreValues) does the
More information about the Squeak-dev