[Mono-dev] C# source-to-source compiler
marek.safar at gmail.com
Tue Nov 16 13:14:31 EST 2010
> I just noticed this thread, and I'm curious, when you say:
> The async/await is about asynchrony and spawn/sync is about
> These are 2 different things which should not be mixed together.
> Do you mean they should not be confused, or do you literally mean that
> these technologies (or paradigms, if you will) should not be combined?
> If this is the case, I'm curious to learn why you say that, since I'm
> toying with idea of hybrid threading for a concurrency framework I'm
> working on (https://github.com/nirvanai/Cirrus).
I don't see any problem combining these two together when needed, my
point was simply that they mean 2 different things.
> Mono C# compiler has no async support yet (the .NET preview has been
> announced few days ago!) but we are fully aware of it and we will
> implement it as soon as time permits.
> I implemented async methods (before I knew they were to be a language
> feature) using Cecil for the framework I mentioned. I think the
> coroutine transformation I'm doing is pretty similar to the way
> Microsoft is doing things in their async preview. I'd certainly be
> willing to take a stab at adding async support to the Mono C# compiler
> if/when you think that might be beneficial.
Patches are always welcomed. However, the approach will be different as
the rewrite will happen at expression level (you don't need Cecil).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list