----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Mrinal Message 3 in Discussion Hi , Take it cool dude , it's just an initiative to brush important dotnet concepts and there's no obligation to post a reply and as far as using Ngen.exe is concerned that creates binaries in Native Image Cache , i doubt using it ever due to my strong faith in JIT compiler . After all this bloated wisdom and mentoring , let me get back to point : Regarding Native Image Cache , in short to avoid the step of JIT compilation which may be an overhead , since it creates low level binaries for execution on a given set of hardware ( processor etc.) from MSIL at runtime on need basis , same thing can be done using a tool ngen.exe (Native generator) , which places the binaries in a Native Image Cache and is a first thing being checked by CLR during execution and if available then it skips JIT compilation . However it looks good by above comments but there are few points worth considering : 1. Binaries created using Ngen.exe is a Lowest common denominator for any kind of hardware especially processors . So , while creating it , you will not be able to utilize the special functionalities or provisions of a processor like P4 . however there are several switches available , but most of the users won't be aware of key harware information to use them , howveer JIT coompiler generates more hardware specific and optimized code . ( Remember those days are over when MS sticked to intel's X86 architecture , now they make things compatible with most of the vendors ) 2. Creating binaries using Native Image Cache does means that you will be able to protect intellectual property by not shipping the MSIL code ( exe / dll ) to the end user , as these binaries also need metadata at runtime . 3. Any issue / problem with Native Images , CLR will revert back to JIT compilation . check out this link for more info : http://www.codeguru.com/Csharp/.NET/net_general/toolsand3rdparty/article.php/c4651/ infact it has been confirmed that JIT compiler is a hihly optimized piece of software and it reallt works efficiently . hope it helps , Mrinal ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
