"Boni" <oilia@nospam> wrote in message
news:eY**************@TK2MSFTNGP10.phx.gbl...
[Snip]
By the way, I still don't understand why Microsoft has no native compiler,
which could work without assembly.
I assume you mean a .NET native compiler? NGEN allows you to precompile
assemblies to native code, but there are no guarantees that the native code
will be used and it may be recompiled by the JIT. In addition it still keeps
the assembly IL and metadata with it. As for why a pure native code solution
isn't included in .NET, there's a couple:
- JIT allows the compile to be optimized for the machine on which it is
running rather than the developers machine.
- Pure native code would be able to bypass the CAS and verification.