Microsoft Demos Upcoming ‘Project N’ Compiler Technology That Will Improve Apps Performance On Windows

During the Visual Studio 2013 launch event in New York, Microsoft revealed its upcoming compiler technology that will compile .Net code directly to native code. Mary Jo Foley reported that this project is codenamed Project N. Microsoft Project Manager Orville McDonald demonstrated this technology with FreshPaint app. One version of FreshPaint app was compiled using this upcoming compiler technology while the other one was a normal current FreshPaint app. It was shown that the optimized FreshPaint loaded very quickly.

“We don’t do JIT (just-in-time compile) and use optimization that we use for C++ code,”

ZDNet reported the following on this upcoming project from Microsoft,

I’ve gotten a few tips in recent months about “Project N,” which, according to my contacts, is designed to make applications developed in .Net/C# work better on Windows 8 and Windows RT via new compiler technology under development at the company. My tipsters have said Microsoft is planning to go public with its Project N plans in 2014.

Read more from the link below.

Source: ZDNET

  • Il Baffo


    • Brent

      ART… sigh.

      C# had the ability to become native before (through Ngen – from Microsoft and nearly a decade ago, albeit w/some caveats). This is lauding a more direct path to compile to native code for ANY hardware (supported by the app).

      ART is more like Ngen, but for Google’s Android, but also per machine (smartphone), optimized for the hardware at installation (a good thing for devices). While close; it really isn’t native code, but a very very good step and possibly the best step given the choices they have.

      • Il Baffo

        I know but, why now? Why just after Kitkat?
        It seems that MS can’t really go forward instead of pursuit someone else, even if they (MS) have the resources and the technology.

        • nohone

          Yes, making code run faster was never thought of until Google released KitKat, and now everyone is scrambling to follow in the path of those great leaders of technology, Google. Google invented mail with GMail, invented VOIP with Google Voice, invented the web search engine, invented social networking with Google+, and so on.
          As Brent wrote, ngen has been used by Microsoft and others to compile platform agnostic bytecode to native code since .NET 1.1. And really earlier when Microsoft was one of the first to introduce JIT compilation in their Java VM. But no, Google didn’t copy that idea, they created the idea.

          • Il Baffo

            First: there is no idea to copy in compile native code.
            Second: I don’t care what Google does.

            MS already did that before, why didn’t they put this in WP while developing it?

            I mean, now that google changed his mind, MS follows this direction? It is like deny all the effort they put in optimizing the .NET runtime