Day 3–Morning Session #prognet11 @skillsmatter @jonskeet

Published on 07 September 2011

First up on this last day of the Progressive .Net Tutorials was Jon Skeet (@jonskeet) and his “Async Methods in C# 5” talk.

Like Paul Stacks talk yesterday, this was a very well attended talk, and rightly so.  I had never seen a Jon Skeet presentation before but I have heard him on various pod casts and videos, but he is a great presenter who has a natural talent at explaining complicated scenarios in a easy to understand way.

Jon started out with some very impressive slides (a example of which can be seen here) and explained the “asynchronous” techniques that have been used to date in earlier versions of the framework.

And then began explaining what awaits (do you like my pun?) us in C# 5.

I have to say that the usage of the async and await keywords is very appealing, and it is reasonably easy to see how it could be applied in a code base.

Following this, Jon then went onto discuss his Eduasync sample code which, rather than using the Microsoft Visual Studio Async CTP, re-writes the implementation.  Although it was interesting to see how all the pieces fit together, Jon did make clear that it is unlikely that you would ever need to write any code like this, but rather it was just “fun” to do.

At the end of the talk I can honestly say that my head hurts!  I went into this talk having never played with the Parallel Extension in .Net 4.0 and having read hardly anything C# 5 Async, and although I got “some” of the concepts, I would still have a lot to learn.  This is really something that I would need to place with in anger in order to concrete my understandings.  The first port of call will be to go back and read Jon’s series to blog posts here.

Quotes:

“I’m just an enthusiastic amateur C# Developer” – Jon Skeet

“goto’s are considered awesome” – Jon Skeet

Break out discussions:

Code used during the talk:

comments powered by Disqus