[OT] .NET is compiled to native code in Windows Phone 8

Paulo Pinto pjmlp at progtools.org
Wed Oct 31 02:52:20 PDT 2012


On Wednesday, 31 October 2012 at 07:19:23 UTC, thedeemon wrote:
> On Tuesday, 30 October 2012 at 19:15:59 UTC, Paulo Pinto wrote:
>> Now Build 2012 is happening and the new Windows Phone 8 
>> features have been revealed.
>>
>> One of the most interesting is that .NET applications are 
>> actually compiled to native code as well, before being made 
>> available for download.
>>
>> http://blogs.msdn.com/b/dotnet/archive/2012/10/30/announcing-the-release-of-the-net-framework-for-windows-phone-8.aspx
>>
>> Assuming Microsoft eventually releases a native code compiler 
>> for C# (better than NGEN), this will make D use harder in the 
>> enterprise. :\
>>
>> --
>> Paulo
>
> I don't think they're going to. There are many reasons of 
> keeping assemblies in easy to verify and operate bytecode, and 
> ngen has been here for quite a while without much impact.

The problem with ngen is that it has a very basic optimizer, and 
there are some restrictions to which type of bytecode (no 
reflection tricks) is ngen-able. Those restrictions are 
artificial, other C# native code compilers (Mono, Sing#) don't 
have them.

--
Paulo


More information about the Digitalmars-d mailing list