Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand. NET Native and its Application

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article shows you how to understand. NET Native and its application, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

.NET Native

The .NET Native compiles C # code into native machine code. According to the blog,. NET Native can optimize all Windows Store applications. Compiling Windows Store applications with .NET Native results in 60% faster application startup and less memory footprint, mainly due to the development team optimizing the .NET Native runtime (a refactoring and optimization of CLR) and using the advanced Microsoft VC++ optimizer backend.

The preview allows developers to test and compile applications, and the most exciting thing for developers is that using the .NET Native will not only give applications C++-like performance, but also achieve C # productivity.

Currently, the. NET Native preview supports Windows Store applications, which developers can use to build applications based on ARM and x86 architectures (which will soon support x86). In the near future, the. NET Native development team will also provide a consistent cross-platform experience and will continue to refine and enhance the scope of application of the .NET Native.

Combined with Visual Studio,. NET Native will provide users with a. Net development experience, and users will continue to enjoy editing / compiling / modulating and other development functions and experiences.

According to the FAQ provided by Microsoft, the current preview version of the .NET Native only supports the C # language, and programs compiled with the .NET Native will be deployed to the target machine as independent native compiled code, without the need to install the .NET Framework.

At present, Microsoft has developed some Windows Store Party An applications with .NET Native, including Wordament and Fresh Pain.

.net Native Preview download address: http://msdn.microsoft.com/en-US/vstudio/dotnetnative, currently available for installation on Visual Studio 2013 Update 2 RC. Currently, Microsoft has not officially told when the official version of the .NET Native will be released.

Compiling applications using .NET NativeToolchain

After the project is loaded, you can enable the .NET Native compiler, as long as the application is configured for x64 or ARM architecture, and because the .NET Native is compiled to native code, you have to specify a real machine type instead of CPU. Specific steps:

The above is how to understand. NET Native and its application, have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report