C# 12 boosts AOT compilation

C# 12, a planned upgrade to Microsoft’s signature object-oriented language for .NET development, introduces code rerouting to improve compilation, in the latest preview. The update also features access to inline arrays.

Available in Visual Studio 17.7 Preview 3 and .NET 8 Preview 6, both published July 11, the latest C# 12 preview includes features intended to enable future performance enhancements. Among these is an experimental feature dubbed interceptors that allows generators to reroute code, to provide context-specific optimization. C# 12 is set to ship as a final, production release with .NET 8 in the November time frame.

To read this article in full, please click here