Arne Claassen
Arne Claassen is a senior software developer at MindTouch and the lead developer of DReAM, MindTouch's open source REST framework. Arne has been involved in large scale web applications and distributed systems for over 10 years and has been a C# developer for the last 7 years. His particular focus is on parallel and asynchronous programming and how to make it writing code that scales over multiple processors and servers more accessible and intuitive.
Forget about Threads: Tasks, Asynchronous Methods & Coroutines
Asynchronous programming using callbacks and continuation passing styles have been around in .NET since the start, but have always made code harder to read and comprehend. Coroutines, as implemented in MindTouch's DReAM framework or the async method and await constructs coming in C# 5.0, aim to make asynchronous programming simpler by retaining sequential programming workflows, while allowing async suspension of code waiting for completions. This talk will present a brief overview of available asychrony patterns, their pros and cons, and delve into a tutorial on how to use either DReAM coroutines or C# 5.0 asynchronous methods, as well as how the two implementations compare and contrast. Learn how to write code that will take advantage of multi-core architectures and avoid blocking on I/O without having to touch a thread or a lock statement in the process.
No comments:
Post a Comment