Re:Microsoft asking for engineer to work on a native compile...
by RyanZAG on Wednesday November 28, 2012 @09:09AM
(#4842567)
That's right - I was addressing the issue where people think that they will turn C# into C++ by allowing for 'native compile'. In the cases where you use normal C#, compiling to native isn't going to make your code run as fast as C++ as you still have bounds checking, garbage collection, etc. In the case where you use unsafe C# code inside a loop, it's going to be running as native code anyway once the JIT runs through it.
ie. This story is terribly misguided as it seems to imply that C# is changing into something else because of a few compiler changes...
CIL is always compiled to native code, either via JIT or AOT (ngen, mono -aot).