Thursday 12th January, 2012
11:00am to 12:00pm
This talk will assume you’ve either been to part 1, Bill Wagner’s talk “Async from the outside” - or that you’ve used the preview builds available with async. Using async and await in C# 5 can feel like magic - much as LINQ probably did when you first saw it years ago. Does that make you nervous? Is your immediate response to a new feature always, “I must know how this works”? Do you reach for the spec or ildasm before trusting the compiler? If so, this is the talk for you. The pixie dust can all be explained away though, and in this talk I’ll do exactly that. No more Santa Clause; good-bye Easter Bunny - they’ll be replaced by state machines, continuations, pattern-based awaiting and task builders. Having moved up in abstractions when using async, we’ll have to move down to the generated code to see how it’s all implemented. Be prepared to be somewhat frazzled by the intricate dance performed by the C# 5 compiler on your behalf - and then be very grateful that the end result is that you don’t need to write such code yourself any more!
Developer (currently at Google) and author (most recently of C# in Depth) bio from Twitter
1:45pm :- should_learn(Prolog, You). by Joshua Smith
Sign in to add slides, notes or videos to this session