Click here to Skip to main content

.NET Framework

 
GeneralRe: Things to do before making a .Net application commercial. Pinprofessionalkburman619-Apr-13 11:23 
GeneralRe: Things to do before making a .Net application commercial. PinmemberJasmine250119-Apr-13 11:53 
QuestionDatabase Security Design PinmemberBram van Kampen9-Apr-13 14:44 
AnswerRe: Database Security Design Pinmemberjschell10-Apr-13 9:27 
GeneralRe: Database Security Design PinmemberBram van Kampen13-Apr-13 17:12 
GeneralRe: Database Security Design PinmemberJasmine250119-Apr-13 11:13 
AnswerRe: Database Security Design PinmemberJasmine250119-Apr-13 11:16 
QuestionWhy do we JIT compile everytime a program runs in.NET? PinmemberRob Philpott9-Apr-13 10:40 
I understand that when you install the .NET framework, having copied all the assemblies into the Global Assembly Cache, they are then NGENed into native code. This is why it takes a while.

This makes a lot of sense, so I've never understood why the architects of .NET didn't provide support like this for our applications. On some of the larger systems I work on they are noticably sluggish when they start up and I experimented once, signing and putting the assemblies into the GAC, then NGENing them and they were considerably faster on start up.

So why not have a system whereby the first time you run an application the native image that is created (albeit on a line by line basis) is cached somewhere with a link to the original assembly? I appreciate that somethings couldn't be done like this (stuff from emit for instance) but the vast majority of the time JITting is something which really doesn't have to happen every time an application is run.

Anyone got any thoughts on this matter?
Regards,
Rob Philpott.

AnswerRe: Why do we JIT compile everytime a program runs in.NET? PinprotectorPete O'Hanlon9-Apr-13 11:09 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? PinprofessionalRob Philpott9-Apr-13 22:44 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? PinprotectorPete O'Hanlon9-Apr-13 22:48 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? PinprofessionalRob Philpott9-Apr-13 22:49 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? PinprotectorPete O'Hanlon9-Apr-13 22:51 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? PinprofessionalRob Philpott10-Apr-13 0:48 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? PinprotectorPete O'Hanlon10-Apr-13 0:54 
AnswerRe: Why do we JIT compile everytime a program runs in.NET? Pinmemberjschell10-Apr-13 9:22 
QuestionThe SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. PinmemberJak Anil from Hyderabad, India9-Apr-13 7:44 
AnswerRe: The SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. PinmemberBernhard Hiller10-Apr-13 0:34 
GeneralRe: The SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. PinmemberJak Anil from Hyderabad, India10-Apr-13 0:49 
QuestionRegarding LdapSessionOptions.SecureSocketLayer PinmemberGaurav Ruhela9-Apr-13 3:27 
QuestionWPF Dialog locks all threads PinmemberAeroClassics8-Apr-13 19:32 
AnswerRe: WPF Dialog locks all threads PinprofessionalRichard Deeming9-Apr-13 5:21 
GeneralRe: WPF Dialog locks all threads PinmemberAeroClassics9-Apr-13 13:13 
QuestionDifference between MVC3 and MVC4 [modified] PinmemberJak Anil from Hyderabad, India5-Apr-13 1:58 
AnswerRe: Difference between MVC3 and MVC4 PinmvpDave Kreskowiak5-Apr-13 2:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 17 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid