The async/await model and its perils

added by DotNetKicks
7/4/2016 3:03:33 PM

1 Kicks, 333 Views

This blog post about the color of a function is a really good explanation of the major issues with sync and async code in modern programming. In C#, we have this lovely async/await model, which allows us to have the compiler handle all the hard work of yielding a thread while there is some sort of an expensive I/O bound operation going on.