It's All About the State, or What async/await Hides in C#?
summary
Explains how C# async/await actually works under the hood: it covers the async/await syntax, the compiler transformations and the generated Intermediate Language (IL) state-machine code. Shows the problems async/await solves for asynchronous tasks like HTTP requests and dives into the compiler’s work creating the state and control flow that makes async/await convenient for developers.
AI-written summary · about
related talks
01h 11mEverything You (Don’t) Want to Know About Async and Await in C#
51mYield and Async–Await: How They Work Internally and How to Use Them
55mAsync internals in .NET
59mAsynchronous Programming From The Ground Up
56mCorrecting Common Async/Await Mistakes in .NET 8
01h 00mCorrecting Common Async/Await Mistakes in .NET
01h 05mCorrecting Common Async/Await Mistakes in .NET 10
01h 01mCorrecting Common Async/Await Mistakes in .NET 9
