The performance of C ++, the capacity of C ?! Both the fish and the bear's paw can get a glimpse of. net native (1)

Source: Internet
Author: User

For Microsoft developers, every BUILD conference is worth looking forward. This is also a big surprise. In addition to the popular WP8.1 release, there is also a technology that will make developers excited:. NET NATIVE. Let's take a closer look at what it is.

[Xiao JIU's school is dedicated to describing extraordinary technologies in ordinary languages. If you want to reprint it, please indicate the source: xiaojiu's school. Cnblogs.com/xfuture]

The emergence of. Net was due to the fact that Java makes people understand the development of computers today, and the importance of language production is higher than that of performance. So Microsoft launched CLR and. Net. JIT runtime compilation) although the performance is consumed, the production capacity is greatly increased. However, ObjectC tells you how important the compilation performance of machine code is when the memory and storage of tablets and smartphones are limited, and it also saves power. Is this important.

The emergence of Microsoft W8 came into being in the flat era. As a result, the production capacity and runtime performance of Microsoft W8 came into being. net native.

. Net native aims to produce the manual products produced by the pipeline, which is easy to develop and exquisite during operation.

. Net native is called Project N. It can compile C # language into native code, so that it can run like C ++. In fact, this is more general, specifically in NATIVE, Microsoft rewritten it., saves both memory and space.

Many people think that C # is compiled into C ++ by. net native. The C ++ compiler uses IL as the input to generate MDIL at the backend.

. Net native solves a lot of problems. NET problems, such. NET runtime computing consumes more memory and overhead power ,. net native is used only for static links during compilation, and other parts are not needed. Only a part of the framework is put in the memory, soMemory usage is small, and power consumption is also smallIt is suitable for devices with relatively small memory such as tablets.

. Net native also implementsCloud CompilationThe developer provides. NET code, and the consumer installs the machine code that can be used by the device.

. Net native solved.. NET version management. This is the most common problem during development. NET is not supported in earlier versions, or we need to support some low-version machines. As a result, our development environment is always carried out in earlier versions. net .. Net native compiled into machine code. I personally think this isItsBusiness Value

According to the official website, the windows Store program compiled with native accelerates startup by 60% and reduces memory usage by nearly 20%.

Now. net nativeSupports windows store appsAnd does not support other. net desktop programs, such as WPF. However, we can expect an era in which all data is supported in the future. I personally think that WPF is difficult. After all, it uses GPU.

Similar to Android, ART is available in Android 4.4. We hope to compare the research with those with ART development experience. Http://www.pcpop.com/doc/0/967/967006.shtml

I personally think it is a little late, XP has been removed. Now it is basically. net 3.5 or above. Let's take a look.

Running:

Installation:First, update2. about 3G is larger than 2013 ). After installing OK. There is a link to install. net native.

. Net native preview supports Windows Store so you can create a Windows Store app:

Right-click the windowsstore project and click enable. net native.

A description page is displayed:

Then click Run static native analysis. This application is compatible with. net native code generation will appear.

The location is under release folder:


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.