.NET 11 Preview 7 Brings Tiered Compilation and WebAssembly Progress
Microsoft has released the seventh preview of its .NET 11 open source developer platform, building on improvements from previous versions. This latest release includes enhancements to libraries, runtime, SDK, and various frameworks such as ASP.NET Core, Entity Framework Core, and Windows Forms.
The key feature in this preview is tiered compilation for async methods, which allows them to be compiled through the tiered compilation pipeline rather than bypassing it entirely. This change continues to close the gap with the compiler-generated state-machine model.
.NET 11 is also bringing CoreCLR to WebAssembly with a portable interpreter-plus-R2R (ReadyToRun) model that reuses RyuJIT for ahead-of-time code generation. This configuration has been running in Preview 6 and now successfully runs the CoreCLR libraries test suite end-to-end in Preview 7.
Other notable updates include C# language and compiler improvements, such as labeled break and continue statements, and union types using the Try-Both matching approach.