In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >
Share
Shulou(Shulou.com)11/24 Report--
CTOnews.com, November 15, Microsoft today held the ".NET Conf 2023" developer conference and launched the latest generation of .NET 8 open source development platform.
Of particular importance to enterprises is that .NET 8 is a long-term support (LTS) version, which means it will receive three years of support and patches, while the standard term support (STS) version is 18 months. Of particular importance for developers is that the .NET team is moving towards the long-awaited native precompilation (NativeAOT).
According to reports,. NET 8 not only includes many performance improvements, but also adds a new code generator-dynamic configuration File Boot Optimization (PGO), which optimizes code according to application. Microsoft says this will increase the performance of .NET 8-based applications by 20%.
In addition, the new AVX-512 instruction set support can also operate on 512-bit data vectors in parallel, which is supported and used in .NET 8, thus allowing more data processing in a shorter time.
Microsoft also said that primitive types now implement new formatting and parsable interfaces that allow them to be formatted and parsed directly to UTF-8 without any transcoding overhead.
.net 8 brings thousands of performance improvements, covering the entire stack. A new code generator, called dynamic profile Boot Optimization (PGO), is enabled by default, which optimizes your code based on actual usage to improve application performance by up to 20 per cent.
The AVX-512 instruction set now supported enables you to perform parallel operations on 512-bit data vectors, which means that you can process more data in less time. Basic types (numeric and more) now implement a new formattable and parsable interface that enables it to be formatted and parsed directly in UTF-8 format without any transcoding overhead.
Microsoft said that the TechEmpower benchmark showed that in the JSON API scenario, the performance of .NET 8 was 18% better than that of .NET 7, while in the Fortunes scenario, the performance of .NET 8 was 24% better than that of .NET 7.
Microsoft is also working to promote the use of .NET 8 for AI-based applications.
Integrate Tensor primitives. With the rise of AI-enabled applications, new tools and SDK have emerged. We work with many internal and external partners, such as Azure OpenAI, Azure Cognitive Search, Milvus, Qdrant, and Microsoft Teams, to ensure that .NET developers have easy access to a variety of AI models, services, and platforms through their respective SDK.
In addition, the open source semantic kernel SDK simplifies the process of integrating these AI components into new and existing applications, helping you provide an innovative user experience.
.net 8 enhances sustainable computing by advancing NativeAOT to reduce memory usage and enable instant application startup. Microsoft today highlighted the features of AOT, including:
It compiles the application to native code that uses less memory and starts immediately
There is no need to wait for the JIT (real-time) compiler to compile the code at run time
No need to deploy JIT compiler and IL code
AOT applications deploy only the code required by the application
Applications can now run in restricted environments where JIT compilers are not allowed
There will also be a performance improvement for AOT (pre-compiled) applications developed on .NET 8 and running on Linux and Windows platforms, which means that developers do not have to use the JIT (just-in-time) compiler to compile their applications at run time.
CTOnews.com noted that in addition to .NET 8, Microsoft also released the first version of. NET Aspire. This is a stack designed specifically for making cloud-based applications, or a stack for building resilient, observable, and configurable cloud native applications.
The .NET Aspire comes with a selection of components that enhance cloud native development, including by default telemetry, recovery, configuration, health check, and so on.
In terms of cloud native containers, .NET 8 simplifies containerization by simplifying the packaging of applications and enhancing security with default non-root user configurations. It also provides smaller image sizes for faster deployment, optional Dirstroless Ubuntu images for enhanced security, and multi-functional architecture support.
Microsoft also says it uses an easy-to-use local developer experience and is complex enough to create cloud-based applications.
In addition, with Category 12, you can now create major constructors in any class and structure with simple and elegant syntax, eliminating the need for boilerplate code to initialize fields and properties. Use concise and expressive syntax to create arrays, spans, and other collection types. Use the new default values for the parameters in the lambda expression. Overloading or null checking is no longer required to handle optional parameters. You can even use the using alias directive to set aliases for any type, not just named types!
The new features guide in C# 12 explains the following new features in version 12:
Main constructor-introduced in Visual Studio 17. 6 preview 2.
Optional parameters in Lambda expressions-introduced in Visual Studio 17. 5 Preview 2.
Aliases of any type-introduced in Visual Studio 17. 6 Preview 3.
Inline arrays-introduced in preview 3 of Visual Studio 17.7.
Collection expressions-introduced in preview version 5 of Visual Studio 17.7.
Interceptor-Preview feature was introduced in Visual Studio 17. 7 Preview 3.
Developers can learn more about the .NET Aspire in this blog post, and can submit feedback on this preview version on GitHub.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.