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

Bienlein jeti789 at web.de
Thu Apr 3 00:40:09 PDT 2014


This is not really spectacular. The intermediate byte code 
generated by the C# compiler also in the past was transfered to 
machine code. But this was happening at start-up time and this 
way slowing down application start-up. The change MS now made is 
only about reducing start-up times. It will not mean a difference 
in execution speed. Actually, Java is in this way still ahead of 
.NET as it converts the JVM byte codes on the fly to maschine 
code and is able to make optimization at runtime as it observes 
at runtime what is happening (Hot Spot runtime optimization). C# 
"native" can't do that as it converts all the intermediate byte 
code in one run into maschine code.

> Posting this as it has direct implications into D's adoption.

I don't really see why. Again, AFAIKS it is only about reducing 
start-up times of C# apps and won't result in a general 
performance improvement.



More information about the Digitalmars-d mailing list