So is this the mysterious 'M#' technology revealed?
Announcing .NET Native Preview
51–60 of 85 posts
Re: Announcing .NET Native Preview
#52Earlier quoted context omitted.
CLR apps require just in time compiling which can take a little time to first run. So this should speed up opening the apps.
Sure, but ngen solved that problem years ago: http://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.110).a...
Re: Announcing .NET Native Preview
#53Earlier quoted context omitted.
@apardoe, one question: where will the compilation to machine instruction happen? From some comments in this thread, it seems that it will happen at app store server and not at developer's box. If that is the case then why will I need anything to do any settings in VS for building projects?
@rajeevk, we could compile from MSIL and not tell the developer. But you probably appreciate the chance to test out the app on your own the way your user will run it. After all, you'll want to profile it or maybe find that last on-device, optimized-only bug...
Re: Announcing .NET Native Preview
#54It is interesting how every old is new again, we went from AOT to JIT and Back to AOT again.
Re: Announcing .NET Native Preview
#55I imagine this would help them keep costs down on Azure as well.
Re: Announcing .NET Native Preview
#56Re: Announcing .NET Native Preview
#57Microsoft: "We could speed up your server-side code, but instead we did speed up the slow windows mobile apps that nobody cares about."
http://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.110).a...
Re: Announcing .NET Native Preview
#58It seems the comments area here is full of lots of questions and few answers. Let me try to clear some things up. Lets start with how it currently works... When you create an application or website in C#,F#,VB.NET or any other .NET language you are not really 'compiling' it per se to native code, you are compiling it to an intermediate language called IL - very much like Java byte code. When your application or websi…
[0] http://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.110).a...
Re: Announcing .NET Native Preview
#59Earlier quoted context omitted.
It gives faster startup time (due to AOT compilation rather than JIT), and doesn't require that the .NET framework be installed. Possibly better runtime performance, but I wouldn't expect huge gains there. P/Invoke should have lower overhead, which may be highly relevant for some things. I suspect that there's things that require this which they haven't announced yet, since on its own it seems like something kinda ni…
"It [...] doesn't require that the .NET framework be installed." Are you sure? You still need the standard libraries, a garbage collector, its security checks when loading other code, and may want to use its compiler from your code. Together, that's a lot, maybe all, of what's in the framework.
Re: Announcing .NET Native Preview
#60Only for Windows store? So who thinks walled gardens and feudalization are coming to all desktop OSes in the next 5 years? In the future, a store / certificate authority will be able to arbitrarily revoke your right to run anything on your computer that isn't approved.
We're already there with Web Apps and other SaaS "innovative" technologies.