Performance Improvements in .NET 5
In previous releases of .NET Core, I’ve blogged about the significant performance improvements that found their way into the release. For each post, from .NET Core 2.0 to .NET Core 2.1 to .NET Core...
View ArticleARM64 Performance in .NET 5
The .NET team has significantly improved performance with .NET 5, both generally and for ARM64. You can check out the general improvements in the excellent and detailed Performance Improvements in .NET...
View ArticleThe updated GetGCMemoryInfo API in .NET 5.0 and how it can help you
A bit of history In .NET 3.0 we introduced a GC.GetGCMemoryInfo API for library code to get memory load related things (this was used in ArrayPool for example) so it exposed things library folks...
View ArticleLoop alignment in .NET 6
When writing a software, developers try their best to maximize the performance they can get from the code they have baked into the product. Often, there are various tools available to the developers to...
View ArticleString Interpolation in C# 10 and .NET 6
Text processing is at the heart of huge numbers of apps and services, and in .NET, that means lots and lots of System.String. String creation is so fundamental that a myriad of ways of created them...
View ArticlePerformance Improvements in .NET 6
Four years ago, around the time .NET Core 2.0 was being released, I wrote Performance Improvements in .NET Core to highlight the quantity and quality of performance improvements finding their way into...
View ArticleUnderstanding the cost of C# delegates
Delegates are widely used in C# (and .NET, in general). Either as event handlers, callbacks, or as logic to be used by other code (as in LINQ). Despite their wide usage, it’s not always obvious to the...
View ArticlePreview Features in .NET 6 – Generic Math
If you’ve ever wanted to use operators with generic types or thought that interfaces could be improved by supporting the ability to define static methods as part of their contract, then this blog post...
View ArticleFile IO improvements in .NET 6
For .NET 6, we have made FileStream much faster and more reliable, thanks to an almost entire re-write. For same cases, the async implementation is now a few times faster! We also recognized the need...
View ArticleHTTP/3 support in .NET 6
.NET 6 includes preview support for HTTP/3: In Kestrel, HTTP.Sys & IIS for ASP.NET for server scenarios In HttpClient to make outbound requests For gRPC What is HTTP/3 and why is support important?...
View Article