C# 9 - Improving performance using the SkipLocalsInit attribute
C# 9 brings lots of new language features. One of them is the ability to suppress emitting .locals init flag. This feature allows to improve the performance of a method by not zeroing the local variables before executing the method. Even if zeroing local has been improved in .NET 5, not doing it will still be faster.
#csharp #perf #performance
https://www.meziantou.net/csharp-9-improve-performance-using-skiplocalsinit.htm
C# 9 brings lots of new language features. One of them is the ability to suppress emitting .locals init flag. This feature allows to improve the performance of a method by not zeroing the local variables before executing the method. Even if zeroing local has been improved in .NET 5, not doing it will still be faster.
#csharp #perf #performance
https://www.meziantou.net/csharp-9-improve-performance-using-skiplocalsinit.htm
Writing high performance F# code
While this post is addressed to F# .NET developers, it introduces much wider concepts starting from hardware architecture to overall .NET runtime and JIT compiler optimizations. It shouldn't be a surprise - optimizing the application performance requires us to understand the relationships between our high level code and what actually happens on the hardware.
#fsharp #perf #performance #rust
https://bartoszsypytkowski.com/writing-high-performance-f-code/amp/
While this post is addressed to F# .NET developers, it introduces much wider concepts starting from hardware architecture to overall .NET runtime and JIT compiler optimizations. It shouldn't be a surprise - optimizing the application performance requires us to understand the relationships between our high level code and what actually happens on the hardware.
#fsharp #perf #performance #rust
https://bartoszsypytkowski.com/writing-high-performance-f-code/amp/
.NET 7 Inches Closer to NativeAOT in Preview 2
Native ahead-of-time (AOT) compilation — a much-requested and long-awaited feature for .NET -- is getting closer in the new .NET 7 Preview 2.
#aot #perf
🌐 visualstudiomagazine.com/...
Native ahead-of-time (AOT) compilation — a much-requested and long-awaited feature for .NET -- is getting closer in the new .NET 7 Preview 2.
#aot #perf
🌐 visualstudiomagazine.com/...