The new Async CTP, Tasks and Coroutines

Topics: Actions & Coroutines
Aug 23, 2011 at 9:28 PM

Was wondering what the commonalites of CoRoutines in CM and this are?  I thought I saw some examples out there using either PLINQ or the Parrallel Library that showed something very similar to the CoRoutine support within CM.

Aug 24, 2011 at 8:48 AM

The CoRoutines are passed through IOC.Buildup to satisfy any dependencies (+1 for CoRoutines ;-) )

not sure if there is an equivalent way of doing this using Async Tasks etc.


Sorry I can't add more but I'm from a background (so no "Yield" :-( )

... and we've only just moved to .net 4

... which allowed us to install the Async CTP (hooray for Iterator Functions and ... "Yield" !)

so I'm only just started having a good play with co-routines

Aug 24, 2011 at 3:55 PM

Maybe I misstated my question.  Are Coroutines and Expression Trees similar/same thing.