[Cuis] Solitaire updated for 2203

Juan Vuletich juan at jvuletich.org
Tue Apr 7 06:39:03 CDT 2015


Hi Folks,

On 4/5/2015 2:15 AM, Casey Ransberger wrote:
> Just jumping in here late Juan, but...
>
> In a Smalltalk environment, continuations may be somewhat expensive because the way we pull it off is keeping our closures on the heap.
>
> Don't quote me on this, and I can't immediately cite any sources (sorry) but I recall reading that systems that can do tail-call elimination can cut down on the cost significantly.
>
> Folks, I'm just spitting back out something I've read and I can't back it up. I'd like to know if someone can tell me that I'm wrong about this and such.

A bit of googling brought 
http://c2.com/cgi/wiki?ContinuationImplementation and 
http://www.cs.indiana.edu/~dyb/pubs/stack.pdf . The Segmented Stack idea 
is very clever, and solves the problem in a nice way. It would be great 
to have it in our VMs. Not a minor job, though.

Cheers,
Juan Vuletich

> Cheers!
>
> --C
>





More information about the Cuis mailing list