Pages

Thursday, June 5, 2008

Native Image Generator Tool

.NET programming tool (Ngen.exe) for compiling an assembly to native machine code and installing it in the local assembly cache. Rather than the MSIL assembly, the native image is used for assembly access during execution. The Common Language Runtime (CLR) reverts to using the MSIL assembly if the native image is removed. Native images load and execute faster than MSIL assemblies which must be Just-In-Time (JIT) compiled by the CLR. Known as pre-JITing, using this tool to create a native image file makes JIT-compiling unnecessary.

No comments: