MSBUILD 2014, C# gets an ahead of time compiler to native code.

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 8 04:10:00 PST 2015


On Thursday, 8 January 2015 at 11:53:37 UTC, ponce wrote:
> On Wednesday, 2 April 2014 at 20:23:58 UTC, Paulo Pinto wrote:
>> So it finally happened, C# gets an AOT compiler in addition to 
>> NGEN/JIT
>> as part of standard Visual Studio tools.
>>
>> http://techcrunch.com/2014/04/02/microsoft-updates-visual-studio-with-support-for-universal-projects-typescript-1-0-and-net-native-code-compilation/
>>
>> More information will be provided in the native sessions 
>> tomorrow and on
>> Friday.
>>
>> Posting this as it has direct implications into D's adoption.
>>
>> --
>> Paulo
>
> Now I wonder how will runtime template instantiation work.

Either they are using the existing solution done by NGEN/JIT, C++
style for value types and erasure for reference types, or the
full C++ way.

The compiler also uses heuristics for reflection, failing that
you can list which classes are the target of runtime reflection,
so that their metadata isn't thrown away.

http://blogs.msdn.com/b/dotnet/archive/2014/05/21/net-native-deep-dive-help-i-hit-a-missingmetadataexception.aspx

..
Paulo


More information about the Digitalmars-d mailing list