.NET 9 Preview 6 Improves ARM64 Code Generation
Written by Kay Ewbank   
Tuesday, 16 July 2024

.NET 9 Preview 6 is now available with a wide range of improvements to the runtime, SDK and ASP.NET Core.

 

ossdotnet

The list of improvements to the .NET Runtime includes a range of optimizations and improvements, starting with better ARM64 code generation. ARM64 supports multiple instructions for loading and storing data, and this release has optimized which instructions are used for loading and storing data to enhance execution time and performance.

The handling of code layout has also been improved to reduce the number of branch instructions in the generated code. This maximizes fallthrough behavior, or the property that each basic block is followed by its most-likely successor, such that it can "fall into" its successor without needing a jump. Loops have also received attention to improve performance by flipping loop counter variables for performance gains.

Hardware Intrinsic code generation has been worked on, again to accelerate code by handling constants in hardware intrinsics better.

In the SDK, NuGetAudit has been enhanced to help maintain secure projects by raising warnings for vulnerabilities in transitive dependencies. In the previous version, only direct package references were being reported by default.

There's also a new command, Nuget why, that can be used to find out why a transitive package is being used by your project. Finally, MSBuild has introduced a new tool called BuildChecks to help users enforce rules and invariants during their builds. Like Roslyn Analyzers, the goal of this feature is to not only detect problems, but ensure that problems don't re-introduce themselves into the build once fixed.

ASP.NET Core in .NET 9 Preview 6 has also been improved with changes to improve performance, security, and usability.

Static Web Assets will now be have fingerprinted versions automatically generate to provide improved caching and faster load times. There's also better distributed tracing for SignalR hub method calls. SignalR provides a simple API for creating server-to-client remote procedure calls that call JavaScript functions in client browsers (and other client platforms) from server-side . NET code.

The OpenAPI in ASP.NET Core has enhancements designed to make it easier to get support. ASP.NET Core's OpenAPI support ships in an independent package outside of the shared framework, and Microsoft says this means that it is difficult for users to independently discover built-in OpenAPI support by using code-completion aids like IntelliSense. .NET 9 Preview 6, includes a completion provider/codefixer combination to help users discover built-in OpenAPI support more easily.

.NET 9 Preview 6 is available for download now.

ossdotnet

More Information

.NET 9 Preview 6 Installer & Binaries

Related Articles

.NET 8 Final Preview Improves ASP.NET Core

.NET Upgrade Assistant Adds Support For MAUI And Azure Functions

.NET 8 Preview 3 Improves ASP.NET Core

.NET 8 Preview 1 Announced

.NET Celebrates 20th Anniversary of Launch

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Azure Data Box Improves Offline Data Migration
02/09/2024

Microsoft has updated Azure Data Box with improvements designed to accelerate offline data migration.



Mozilla Getting New Logo?
30/08/2024

Keen watchers of industry trends think that Mozilla is working on changing its logo, and have been debating just what this means for the company behind Firefox.


More News

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 16 July 2024 )