<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Jeffrey Richter and his AsyncEnumerator</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/446889_100x75.jpg</url>
		<title>Channel 9 - Jeffrey Richter and his AsyncEnumerator</title>
		<link></link>
	</image>
	<description>Jeffrey Richter’s Power Threading Library contains his AsyncEnumerator class which uses C# iterators to allow developers to perform asynchronous operations via an easy to use synchronous programming model. For those of you who can remember

our conversations on CCR from years back, the use of iterators in this concurrent context is at the core of CCR&#39;s implementation&amp;nbsp;of asynchronous processing. The power of iterators in C# enables all of this. The CCR team was in fact the first to employ an
 asynchronous programming model based on C# iterators, which was a very novel use of the new feature in C# 2.0. This doesn&#39;t take away from Jeff&#39;s current excellent async implemenation (not at all - Jeff has made some real innovation here!).Watch this Screencast produced by Developer Division Community Program Manager Charlie Calvert&amp;nbsp;to learn how Jeff&#39;s library enables the creation of scalable and responsive applications with minimal resources (threads/context switches). The library discussed
 in this Screencast can be downloaded from 
http://wintellect.com/PowerThreading.aspx. </description>
	<link></link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 09:45:50 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 09:45:50 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[This library seems interesting. Can someone comment on similarities/differences to the Parallel.For library?<br /><br />IIRC, there's no cancelling nor timeout mechanism in Parallel.For, but is that all?<br /><p>posted by Minh</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633639577770000000</link>
		<pubDate>Thu, 04 Dec 2008 03:22:57 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633639577770000000</guid>
		<dc:creator>Minh</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Differences with Parallel.For? One that springs to mind is that an application on&nbsp;current or myabe not-so current&nbsp;.NET technology can leverage this technique.<br /><br />Top marks,&nbsp;Jeff.<p>posted by LukePuplett</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640175260000000</link>
		<pubDate>Thu, 04 Dec 2008 19:58:46 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640175260000000</guid>
		<dc:creator>LukePuplett</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[They are very different. Parallel.For in particular is about performing a bunch of compute-bound operations in parallel scaling out across all the CPUs in teh machine. My AsyncEnumerator is mostly about issuing one or more concurrent I/O-bound operations
 without have any threads block for them to complete.&nbsp;<p>posted by JeffRichter</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640264400000000</link>
		<pubDate>Thu, 04 Dec 2008 22:27:20 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640264400000000</guid>
		<dc:creator>JeffRichter</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[You guys should look at asynchronous workflows in F#, here is a Channel9 video on it:<br /><br /><a href="http://channel9.msdn.com/posts/Charles/Don-Syme-Whats-new-in-F-Asynchronous-Workflows-and-welcome-to-the-NET-family/">http://channel9.msdn.com/posts/Charles/Don-Syme-Whats-new-in-F-Asynchronous-Workflows-and-welcome-to-the-NET-family/</a><br /><br />Asynchronous workflows allow you to express asynchronous computations without having to wrap their continuations.<p>posted by granicz.adam</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640368670000000</link>
		<pubDate>Fri, 05 Dec 2008 01:21:07 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640368670000000</guid>
		<dc:creator>granicz.adam</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Couldn't the function use yield return to hand back a lambda, and the lambda would contain the asynchronous call(s) to fire off?<br /><br />The calls could be made on an interface that wraps the socket and hides the details of managing the asynchronous nature of the call altogether.<br /><br />Hmm... this sounds like a good idea... I'll whip up something to demonstrate what I mean more clearly.<p>posted by danielearwicker</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640802840000000</link>
		<pubDate>Fri, 05 Dec 2008 13:24:44 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640802840000000</guid>
		<dc:creator>danielearwicker</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Here's what I mean:<a href="http://incrediblejourneysintotheknown.blogspot.com/"><br /><br /></a><a href="http://incrediblejourneysintotheknown.blogspot.com/2008/12/asynchronous-sockets-with-yield-return.html">http://incrediblejourneysintotheknown.blogspot.com/2008/12/asynchronous-sockets-with-yield-return.html</a><br /><br />Would be very interested to hear what Jeffrey thinks about it!<p>posted by danielearwicker</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640835040000000</link>
		<pubDate>Fri, 05 Dec 2008 14:18:24 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633640835040000000</guid>
		<dc:creator>danielearwicker</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[
<div id="RadEditorStyleKeeper1">&nbsp;</div>
<div id="RadEditorStyleKeeper2">&nbsp;</div>
<style></style>
<div>Regarding the difference between this and PFX, they are solving different problems. PFX is about providing simple means of parallel execution; Jeff's library is about maximizing thread efficiency by avoiding thread blocking altogether by following the
 APM model. APM is a requirement when writing programs that:<br />(1) have potentially hundreds or thousands of parallel execution paths<br />(2) spend most of their time blocking<br />Without (1), you won't gain enough through the APM to justify the extra programming effort. Without (2), you won't save anything with the APM. The quintessential application is a sockets server that accepts requests over the net. Because the Internet is slow,
 requests may take many seconds from end to end, and yet spend most of their time blocked waiting on a slow network. A well-written asynchronous TCP server can handle a thousand concurrent requests while consuming just a few threads.<br /><br />APM relies on methods returning with a callback rather than blocking the underlying thread. There are actually fairly few truely asycnhronous methods in the .NET Framework - most are related to networking, where the most gains are to be had.<br /></div>
<div>&nbsp;</div>
<div>Jeff's idea is&nbsp;very clever - but&nbsp;it's dubious&nbsp;using it for retrieving web pages in the background in a Win Forms application. The only thing&nbsp;he's achieving is saving the overhead of&nbsp;tying up&nbsp;one or two&nbsp;threads for a few seconds. There was a time when tying
 up 1MB of memory for a few seconds was a big deal, but those days are long gone. Using PFX (or asynchronous delegates, which interestingly don't follow the APM) would be simpler and just as effective.<br /></div>
<div>&nbsp;</div>
<div>By far, the most common use for the async-callback-method model is writing a&nbsp;TCP or HTTP server capable of handling&nbsp;hundreds of concurrent requests.&nbsp;It's NOT required within ASP.NET apps because the ASP.NET infrastructure already does this for you. It's
 also not needed&nbsp;around making database calls within a web app because the DB server will nearly always be more of a bottleneck than&nbsp;the accompanying&nbsp;thread overhead. And who in real life would&nbsp;give up the productivity of&nbsp;the high-level synchronous DB libraries
 such as LINQ to SQL and revert to using low-level async-compliant SqlCommand objects and the like?</div>
<div>&nbsp;</div>
<div>So if you were writing a large TCP or HTTP server from scratch yourself, Jeff's library may be very helpful. The only problem I can see (unless I'm mistaken) is that you can't&nbsp;refactor iterator methods into smaller chunks - as its complexity grows, the
 method will get bigger and bigger and there's nothing you can do about it.&nbsp;The problem is that&nbsp;any methods&nbsp;that you call from an iterator can't themselves yield on&nbsp;behalf of the caller. So if you wanted to do this:<br /><br />foreach (var foo in far)<br />&nbsp;&nbsp; AnotherMethod (foo);<br /><br />then AnotherMethod couldn't do anything asynchronous within its implementation.<br /><br />Joe<br /></div>
<p>posted by Joseph Albahari</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641233850000000</link>
		<pubDate>Sat, 06 Dec 2008 01:23:05 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641233850000000</guid>
		<dc:creator>Joseph Albahari</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[
<div>I certainly agree with your comments about server-side code. However, I disagree with your thoughts about client-side code. On my machine Outlook (just to pick some app as an example) has over 50 threads in it because the Outlook developers have the mindset
 that it isn't bad to just spawn off a few more threads and allocate a few more megabytes of memory. However, this wastes a lot of resources and if Outlook is running on a terminal server machine hosting 100 client sessions, then that means 5,000 threads on
 the system! In fact, because this problem is so bad, Windows 7 is doing a lot to reduce the number of threads used throughout system services and applications that ship with the OS so that Windows 7 will run well on small footprint machines with only 1GB of
 RAM in them. Clearly the Windows team feels that all the threads they have been creating has been hurting them and they are finally doing something about it.<br /><br />And, since I'd like to make things better for Windows users,&nbsp; I highly recommend asynchrounous programming for client-side applications. Also,&nbsp;delegates DO support the APM via their BeginInvoke/EndInvoke methods and because of this, asynchronous delegate invocations
 integrate quite nicely with my AsyncEnumerator. In addition, my AsyncEnumerator automatically marshals the result back to the GUI thread so there is no need to call Control's BeginInvoke method (for Windows Forms) or DispatcherObject's BeginIvoke method (for&nbsp;WPF).
 Furthermore, my AE offers cancelation/timeout support&nbsp;as well as discard support which are all useful features for client-side applications that you do not get with the APM alone or by just spawning up another thread.<br /><br />ASP.NET does support the ability for developers to implement their web form or web service app asynchronously but few developers take advantage of this. However, ASP.NET offers it as an option because it does not simply give it to you by default. Also, it is
 very useful to perform async programming when accessing a DB because the DB <em>
IS </em>a bottleneck (as you point out). If you make synchronous requests to a DB then your server will create a ton of threads which are all blocked; your server will handle just a few concurrent requests and memory consumption will be very high with thread
 stacks which your code is not using at all. <br /><br />In the real world, there are many developers&nbsp;who will avoid high-level synchronous libraries in order to gain scalability. I know that MS does avoid synchronous DB access for Hotmail and many of its other highly-scalable services. However, it is true, that
 if your service has few concurrent users, then you do get a lot of benefit from various synchronous abstractions (like Linq to SQL). In an ideal world, these abstractions that offer such productivity will offer asynchronous ways of using them. Linq to SQL
 doesn't offer this today but it could in the future (or Linq to Entities could).<br /><br />And, as for refactoring...Iterators do offer some challenges here, I agree. However, from an iterator, you can call compute-bound synchronous methods or methods that initiate an asynchronous compute-bound or I/O-bound operation that itself returns an IAsyncResult.
 And, also my AsyncEnumerator does support composition where an iterator can invoke another iterator. For example, you could create an iterator that asynchronously queries a web server to get some data and process it. And then, you can create another iterator
 that consumes the first in a loop to do asynchronous processing for several web sites. In fact, all of this processing can happen concurrently allowing for phenominal scaling. If your iterator methods get overwhelming, then you can resort to call back methods
 which is what all native applications have to do and what developers writing scalable managed application have to do today. Iterators give you a new ability; they don't take away any of the old abilities. This ability has very few drawbacks but if you come
 across one, then don't use it; go back to an older tried and true way.</div>
<p>posted by JeffRichter</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641331590000000</link>
		<pubDate>Sat, 06 Dec 2008 04:05:59 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641331590000000</guid>
		<dc:creator>JeffRichter</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Very very nice. Hats off to Jeff for this.<br /><p>posted by StrongCoffee</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641545470000000</link>
		<pubDate>Sat, 06 Dec 2008 10:02:27 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641545470000000</guid>
		<dc:creator>StrongCoffee</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Hi Jeff<br /><br />Nice to hear from you!&nbsp; Regarding Outlook, I agree that spawning 50 threads is way over the top. There's a difference, though, between consuming 50 threads for the life of the application and starting two threads that will run for a second.<br /><br />I wonder what Outlook is doing to consume that many threads. I never would have imagined that checking one's e-mail was that complicated!<br /><br />Cheers<br /><br />Joe<br /><p>posted by Joseph Albahari</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641605200000000</link>
		<pubDate>Sat, 06 Dec 2008 11:42:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641605200000000</guid>
		<dc:creator>Joseph Albahari</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[
<p>I find this quite useful and it probably does make developing code faster in some circumstances.
<br />Thanks&nbsp;Jeff<br /></p>
<p>posted by nicholas22</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641952030000000</link>
		<pubDate>Sat, 06 Dec 2008 21:20:03 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633641952030000000</guid>
		<dc:creator>nicholas22</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Very clever idea Jeff. I got the feeling from the latest .NET framework that the APM model was being phased out by MS and replaced with the xxxAsync xxxCompleted event pattern. Just look at the code generated for WCF services for an example of this (even
 though I'm pretty sure it uses the APM pattern under the covers).&nbsp; My only criticism of your AsyncEnumerator would be how large the iterator methods start to get when you have a fair bit of logic in each stage. As you said you can always switch back to separate
 event methods, but I'm wondering if there's not a happy medium somewhere in between, perhaps with sub-iterators, or some kind of iterator stack? Just thinking out loud...<br /><p>posted by Flatliner</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633644219930000000</link>
		<pubDate>Tue, 09 Dec 2008 12:19:53 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633644219930000000</guid>
		<dc:creator>Flatliner</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Just to say that I am a big fan of Jeff's work, and have been using his AsyncResult and AsyncEnumerator for some time, on a number of different projects.&nbsp; I use the AE when loading WPF controls to make multiple asycn calls to a DB when fetching various
 bits of data that the control needs.&nbsp; Subsequently the control loads up much more quickly, and when all of the data returns, I can update the control, all without having to use the Dispatcher.<br /><br />I do have one question though Jeff, you used to make the source code for your async library available on Wintellect, but now you only release a compiled library.&nbsp; Why is this?&nbsp; I have found that the latest release has caused a breaking change to my code, and
 so I am still using the version from May.&nbsp; Can you at least outline what has changed between that version and Octobers release?<br /><br />Steve<p>posted by ssolomon</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633644328300000000</link>
		<pubDate>Tue, 09 Dec 2008 15:20:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633644328300000000</guid>
		<dc:creator>ssolomon</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[Have you guys looked at my lirary, which I created in Mid 2006<br /><br /><a title="Asynchronous Code Blocks" href="http://www.codeproject.com/KB/cs/AsynchronousCodeBlocks.aspx" target="_blank">www.<b>code</b>project.com/KB/cs/<b>AsynchronousCodeBlocks</b>.aspx</a><br /><br />This library with my accompanying Managed IOCP library were very similar to Microsoft's Parallel FX and Task Library. I wrote these libraries in Mid 2005 through 2006.<br /><br />Regards,<br />Aditya.P<br />(Be Original)<p>posted by adityanand</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633644857730000000</link>
		<pubDate>Wed, 10 Dec 2008 06:02:53 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633644857730000000</guid>
		<dc:creator>adityanand</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[CCR has been using almost idenctical syntax to do what Jeff is showing here for about 4 years (publicly). Jeff was even in some of our videos 3 years ago.<br /><br />Various channel9 videos and PDC talk have examples...&nbsp;<br /><a href="http://channel9.msdn.com/pdc2008/TL55/">http://channel9.msdn.com/pdc2008/TL55/</a><br /><br /><a href="http://channel9.msdn.com/tags/CCR/">http://channel9.msdn.com/tags/CCR/</a><br /><br />CCR example for file read (from PDC session):<br /><br /><p>IEnumerator&lt;ITask&gt; CcrReadFileAsync(string file)<br />{<br />&nbsp;&nbsp;&nbsp; var result = new Port&lt;IAsyncResult&gt;();&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using (var fs = new FileStream(file,…,FileOptions.Asynchronous))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var buf = new byte[fs.Length];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fs.BeginRead(buf, 0, buf.Length, result.Post, null);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yield return result.Receive();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var ar = (IAsyncResult)resultPort.Test();&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try&nbsp; {&nbsp;<br />&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fs.EndRead(ar);&nbsp; <br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProcessData(buf);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;catch { // handle exception }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } <br />} </p>
<p>posted by georgioc</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633646385700000000</link>
		<pubDate>Fri, 12 Dec 2008 00:29:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633646385700000000</guid>
		<dc:creator>georgioc</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[The use of C# iterators for aynchronous programming was first done by the CCR team. This is true. In fact, I remember thinking how outrageously cool it was to use C# iterators in this way.
<a target="_blank" href="http://channel9.msdn.com/shows/Going&#43;Deep/Concurrency-and-Coordination-Runtime/">
Remember this interview</a>? <br /><br />In this case, Jeff has extended on&nbsp;the basic functionality present in CCR's implementation of async using C#&nbsp;iterators to include some new and powerful capabilities. Great work, Jeff!<br /><br />C<p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633646419580000000</link>
		<pubDate>Fri, 12 Dec 2008 01:25:58 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633646419580000000</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[
<p><font id="UniqueID1229225906991"><font id="UniqueID1229225906990"><font id="UniqueID1229225906989"><font id="UniqueID1229225906987"><font id="UniqueID1229225906986"><font id="UniqueID1229225906985"><font id="UniqueID1229225906984"><font id="UniqueID1229225906983"><font id="UniqueID1229225906982"><font id="UniqueID1229225906981"><font id="UniqueID1229225906980"><font id="UniqueID1229225906979"><font id="UniqueID1229225906978"><font id="UniqueID1229225906977"><font id="UniqueID1229225906976"><font id="UniqueID1229225906975"><font id="UniqueID1229225906974"><font id="UniqueID1229225906973"><font id="UniqueID1229225906972"><font id="UniqueID1229225906971"><font id="UniqueID1229225906970"><font id="UniqueID1229225906969">Thank
 you my dear friend.&nbsp;I like you and your books.............</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></p>
<p>posted by AQin</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633648227830000000</link>
		<pubDate>Sun, 14 Dec 2008 03:39:43 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633648227830000000</guid>
		<dc:creator>AQin</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[With the CCR going commercial, how does this fit. Seems like dirct competition.
<br />When would you use the CCR versus this?<p>posted by zinovate</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633649592100000000</link>
		<pubDate>Mon, 15 Dec 2008 17:33:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633649592100000000</guid>
		<dc:creator>zinovate</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[
<p>Hi Jeffrey,</p>
<p>&nbsp;</p>
<p>I wanted to show your video about the AsyncEnumerator to a colleague, but it seems to have disappeared from Channel9...</p>
<p>Was that a result of a conscious action, or did something go wrong? Is there any other place I can find it? - Peter</p>
<p>posted by rcbapb</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633838678820000000</link>
		<pubDate>Wed, 22 Jul 2009 13:58:02 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633838678820000000</guid>
		<dc:creator>rcbapb</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[
<p>Fixed. Thanks for letting us know!</p>
<p>C</p>
<p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633838735450000000</link>
		<pubDate>Wed, 22 Jul 2009 15:32:25 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633838735450000000</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Jeffrey Richter and his AsyncEnumerator</title>
		<description>
			<![CDATA[
<p>This seems to be an implementation of trampoline-style threading in .Net. </p>
<p>You write your code as a method which periodically gives up control of its calling thread by use of the &quot;yield&quot; statement. And you expect that the scheduler/engine will revive you so that you can continue from where you left off.</p>
<p>&nbsp;</p>
<p>This same technique can be used to write multi-threaded programs in single-thread languages such as javascript:&nbsp;
<a href="http://blogs.msdn.com/wesdyer/archive/2007/03/23/all-about-iterators.aspx">
<a href="http://blog.monstuff.com/archives/000315.html">http&#58;&#47;&#47;blog.monstuff.com&#47;archives&#47;000315.html</a></a></p>
<p>&nbsp;</p>
<p>This technique would benefit from C# supporting the &quot;yield foreach&quot; construction. This would allow for an iterator method calling into another iterator method passing the result directly through. This is an especially useful syntax and optimization for recusive
 calls (tree navigation).</p>
<p>Read more on &quot;yield foreach&quot; at <a href="http://blogs.msdn.com/wesdyer/archive/2007/03/23/all-about-iterators.aspx">
http://blogs.msdn.com/wesdyer/archive/2007/03/23/all-about-iterators.aspx</a></p>
<p>posted by dumky</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633915861470000000</link>
		<pubDate>Mon, 19 Oct 2009 21:55:47 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Charles/Jeffrey-Richter-and-his-AsyncEnumerator#c633915861470000000</guid>
		<dc:creator>dumky</dc:creator>
	</item>
</channel>
</rss>