C# Programming - .NET Framework - Discussion
Discussion Forum : .NET Framework - General Questions (Q.No. 4)
4.
Which of the following utilities can be used to compile managed assemblies into processor-specific native code?
Discussion:
16 comments Page 1 of 2.
Priyanka said:
1 decade ago
The Native Image Generator (Ngen.exe) is a tool that improves the performance of managed applications. Ngen.exe creates native images, which are files containing compiled processor-specific machine code, and installs them into the native image cache on the local computer. The runtime can use native images from the cache instead using the just-in-time (JIT) compiler to compile the original assembly.
Vishwanath Heddoori said:
1 decade ago
The Native Image Generator, or simply NGen is the ahead-of-time compilation service of the .NET Framework. It allows a CLI assembly to be pre-compiled instead of letting the Common Language Run time do a just-in-time compilation at run time.
(1)
Pinal said:
1 decade ago
ngen.exe is a process which belongs to the Microsoft .NET and provides a native image cache. "This program is a non-essential process, but should not be terminated unless suspected to be causing problems. "
Ravi said:
8 years ago
Once an NGen is run against an assembly, the resulting native image is placed into the Native Image Cache and when we run the application it uses the Native cache instead of the recompilation of code.
Shiva said:
1 decade ago
ngen means native image genrator which is used for increasung performance. Its invoke all assemblies to generate native code. Put it in sepharate place to access runtime.
Guest said:
1 decade ago
Ngen.exe creates native images, which are files containing compiled processor-specific machine code, and installs them into the native image cache on the local computer
Veeranjaneyulu.p said:
1 decade ago
Thanks for the explation given to me.
But I can tell to the Native Image Geneator (Ngen.exe) is tool that improves the performance of managed applictions
But I can tell to the Native Image Geneator (Ngen.exe) is tool that improves the performance of managed applictions
Kundan pathak said:
1 decade ago
Accord to me NGEN is a compiler/interpreter that receive the IL and Generate the Native code or machine code correspondingly or accordingly.
Prasanjit said:
1 decade ago
Priyanka: Thanx for the explanation you gave above! :)
but can you make it in simple words..what its all about?
but can you make it in simple words..what its all about?
Kundan pathak said:
1 decade ago
I don't think so, this is not a satisfactory answer my be but justification is not suitable.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers