[Mono-dev] Monoco, couroutines and Mono.

Tomi Valkeinen tomba at iki.fi
Tue Apr 14 08:14:44 EDT 2009


On Thu, 9 Apr 2009, Miguel de Icaza wrote:

> Hello folks,
> We were having this discussion a few months ago:
>> But remember that stackless python is, I think, more or less proper
>> implementation while Monoco is basically just a hack.
> As of this week a variation of Mono.Microthreads.Continuation has been
> included with Mono in the Mono.Tasklets assembly.   I wrote a blog entry

Nice. I quickly looked at the code, looks like you (or Paolo?) quite much 
rewrote the whole thing =).

Does the new implementation suffer from the same crasher problems as the 
previous one, like managed-native-managed transitions in stored stack, or 
restoring continuation above the mark?

> about this here:
> 	http://tirania.org/blog/archive/2009/Apr-09.html
> I took the liberty of porting Tomi's code to use this assembly and
> uploaded the port here:
> 	http://tirania.org/tmp/monoco-tasklets.tar.gz
> Tomi, I was wondering if you would mind hosting the source code on
> Mono's repository on its own top-level module to encourage developers to
> extend the work that you did.

I don't know... I haven't touched the continuation stuff for a couple of 
years now, and I've been very busy with linux kernel development. I 
believe "hosting" here means some kind of maintenance burden, so I think 
I'll have to say no thank you.

However, I grant everyone rights to do anything they want with my 
microthreading code, so please host them on Mono's repository if you think 
it'll help people.

And I'm still of the opinnion that this stack-copying is more of an 
interesting hack, than something people should really use =).


More information about the Mono-devel-list mailing list