مقایسه کارآیی #C در مقابل Rust و Go
From this benchmark, we are able to understand that Rust has consistent performance and is almost always faster than C# and Go. But that is to be expected as Rust runs on the metal. Between C# and Go the performance seems to be nuanced. As C# and Go seems to outperform each other in difference scenarios.
NET 7 Preview 5. منتشر شد
Today we released .NET 7 Preview 5. This preview of .NET 7 includes improvements to Generic Math which make the lives of API authors easier, a new Text Classification API for ML.NET that adds state-of-the-art deep learning techniques for natural language processing, various improvements to source code generators and a new Roslyn analyzer and fixer for RegexGenerator and multiple performance improvements in the areas of CodeGen, Observability, JSON serialization / deserialization and working with streams.
NET 8 Preview 6. منتشر شد
an exciting release incorporated with plenty of library updates, a new WASM mode, more source generators, constant performance improvements, and NativeAOT support on iOS. We hope you enjoy these new features and improvements. Stay tuned for more updates as we continue our journey of making .NET better, together!
A high-performance second-level query cache for EF Core. Nuget Package
Using Example
dbContext.Books .Include(d => d.Pages).ThenInclude(d => d.Lines).Where(d => d.ID == 200) .Cacheable(TimeSpan.FromSeconds(60))
Performance Test
Cacheable vs DataBase
Average database query duration [+00:00:00.0026076]. Average cache query duration [+00:00:00.0000411]. Cached queries are x63 times faster.
Cacheable vs In-MemoryAverage database query duration [+00:00:00.1698972]. Average cache query duration [+00:00:00.0000650]. Cached queries are x2,611 times faster.
ILSpy 7.0 منتشر شد
New Language Features
- C# 9.0: record classes
- C# 9.0: with expressions
- C# 9.0: primary constructors
- Support for .NET 5 custom calling conventions
- Improved support for Unsafe-intrinsics
UI Improvements
- Dark mode (@tom-englert in #2347)
- .NET bundles and Nuget packages are now directly embedded in the tree view
- Search enabled in NuGet packages
- Added setting highlight the current line in the code view (see #2224, by @DickvdBrink)
- Simple UI language switching support