Thursday, February 12, 2026

Microsoft unveils first preview of .NET 11

Zstandard compression assist in .NET libraries in .NEt 11 means considerably sooner compression and decompression in comparison with current algorithms whereas sustaining aggressive compression ratios. New APIs embrace a full set of streaming, one-shot, and dictionary-based compression and decompression capabilities. Additionally featured is a per-year cache for time zone transitions, enhancing efficiency for time conversions. The cache shops all transitions for a given 12 months in UTC format, eliminating repeated rule lookups throughout conversions.

C# 15 in .NET 11 Preview 1 introduces assortment expressions arguments, a characteristic that helps situations the place a set expression doesn’t produce the specified assortment sort. Assortment expression arguments allow builders to specify capability, comparers, or different constructor parameters instantly throughout the assortment expression syntax. C# 15 additionally brings prolonged structure assist, by which the C# compiler emits the TypeAttributes.ExtendedLayout for sorts which have the System.Runtime.InteropServices.ExtendedLayoutAttribute utilized. This characteristic is primarily meant for the .NET runtime crew to make use of for sorts in interop situations.

With F# 11 in .NET 11 Preview 1, the F# compiler has parallel compilation enabled by default and options sooner compilation of computation expression-heavy code. ML compatibility has been eliminated, although. The key phrases asr, land, lor, lsl, lsr, and lxor — beforehand reserved for ML compatibility — are actually out there as identifiers. Microsoft stated that F# started its life as an OCaml dialect operating on .NET, and for greater than 20 years, the compiler carried compatibility constructs from that heritage together with .ml and .mli supply file extensions, the #mild "off" directive for switching to whitespace-insensitive syntax, and flags like --mlcompatibility. These served the language nicely throughout its early years, offering a bridge for builders coming from the ML household, the corporate stated, however that chapter involves a detailed. About 7,000 strains of legacy code have been eliminated throughout the compiler, parser, and take a look at suite.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

PHP Code Snippets Powered By : XYZScripts.com