Status of callcc

Charles Oliver Nutter charles.nutter at sun.com
Thu Apr 24 09:54:51 PDT 2008


MenTaLguY wrote:
> On Thu, 24 Apr 2008 10:52:42 -0500, Charles Oliver Nutter <charles.nutter at sun.com> wrote:
>> - What's the performance like for copy/restore? I ask because I'm
>> curious if it would be possible to implement a cooperative threading
>> environment with the stack copying capabilities as they exist today.
> 
> I would expect it to be comparable to (or more likely a bit worse than) Ruby 1.8's
> threading, which uses copy/restore of the C stack.

Well, ideally I'd like to see some experimental numbers on this...so 
that may be one of the first things I try. Ruby's model was exactly what 
I had in mind. Even if it's not the most efficient thing in the world, 
it would be a usable mechanism.

- Charlie



More information about the mlvm-dev mailing list