← Back
Nick Chapsas March 2, 2025 1m

Async is Changing in .NET

Summary

The transcript discusses Async 2, a C compiler feature that transforms async methods into state machines by rewriting code at the compiler level rather than introducing a new language keyword. Instead of complex state machine transformations at compile time, the IL generates code that looks similar to the original written code, with optimizations like inlining happening during the JIT process. The key practical takeaway is that Async 2 shifts the responsibility of managing async state persistence from one computational stage to another, providing a more streamlined approach to asynchronous programming.

View original episode ↗