← Tue, Nov 10 digest

What's new in the .NET 11 runtime

read article ↗ hn thread ↗

.NET 11 runtime introduces native async suspension, raises minimum CPU requirements to x86-64-v2 and Arm64 LSE, and adds numerous JIT optimizations.

read it Essential reading for .NET developers to understand breaking hardware requirement changes, runtime async preview, and deep JIT optimizations.

summary

.NET 11 shifts its minimum hardware baseline to x86-64-v2 and Arm64 LSE, dropping support for pre-2013 CPUs and adding advanced instruction-set targets. A major architectural preview, Runtime Async V2, replaces compiler-generated state machines with runtime-managed suspension for cleaner stack traces and better debugging. The release also brings extensive JIT optimizations, including bounds-check elimination, devirtualization, and improved hardware intrinsics across x64, Arm, and WebAssembly.

key points

  1. Hardware requirements now mandate x86-64-v2 for x86/x64 and LSE for Windows Arm64, dropping support for older CPUs.
  2. Runtime Async V2 manages async suspension directly in the runtime, eliminating state-machine infrastructure from live stack traces and improving NativeAOT performance.
  3. JIT compiler gains advanced optimizations such as constant-folding SequenceEqual, generic virtual method devirtualization, and improved SIMD/intrinsic cost modeling.

who should read it

Backend and .NET developers tracking performance improvements, hardware constraints, and runtime architecture changes.

discussion positive

consensus

Commenters praise the overall maturity and performance of the modern .NET ecosystem, expressing excitement over runtime async cleaning up stack traces.

pushback

A few users highlighted potential footguns like unexpected decimal casting changes and lamented past Microsoft breaking changes or the STS/LTS release cadence.

best comment by 1a527dd5 ↗

https://learn.microsoft.com/en-us/dotnet/core/compatibility/...

Be aware

(decimal)0.1 // .NET 10: 0.1 // .NET 11: 0.1000000000000000055511151231

It highlights an unexpected breaking change in decimal casting behavior that could severely impact financial applications.

Generated by an LLM from the article and thread. Check the sources before relying on it.