Click here to Skip to main content
12,885,022 members (30,317 online)

.NET Framework

 
GeneralRe: Things to do before making a .Net application commercial. Pin
kburman619-Apr-13 10:23
professionalkburman619-Apr-13 10:23 
GeneralRe: Things to do before making a .Net application commercial. Pin
Jasmine250119-Apr-13 10:53
memberJasmine250119-Apr-13 10:53 
QuestionDatabase Security Design Pin
Bram van Kampen9-Apr-13 13:44
memberBram van Kampen9-Apr-13 13:44 
AnswerRe: Database Security Design Pin
jschell10-Apr-13 8:27
memberjschell10-Apr-13 8:27 
GeneralRe: Database Security Design Pin
Bram van Kampen13-Apr-13 16:12
memberBram van Kampen13-Apr-13 16:12 
GeneralRe: Database Security Design Pin
Jasmine250119-Apr-13 10:13
memberJasmine250119-Apr-13 10:13 
AnswerRe: Database Security Design Pin
Jasmine250119-Apr-13 10:16
memberJasmine250119-Apr-13 10:16 
QuestionWhy do we JIT compile everytime a program runs in.NET? Pin
Rob Philpott9-Apr-13 9:40
memberRob Philpott9-Apr-13 9: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? Pin
Pete O'Hanlon9-Apr-13 10:09
protectorPete O'Hanlon9-Apr-13 10:09 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? Pin
Rob Philpott9-Apr-13 21:44
professionalRob Philpott9-Apr-13 21:44 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? Pin
Pete O'Hanlon9-Apr-13 21:48
protectorPete O'Hanlon9-Apr-13 21:48 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? Pin
Rob Philpott9-Apr-13 21:49
professionalRob Philpott9-Apr-13 21:49 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? Pin
Pete O'Hanlon9-Apr-13 21:51
protectorPete O'Hanlon9-Apr-13 21:51 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? Pin
Rob Philpott9-Apr-13 23:48
professionalRob Philpott9-Apr-13 23:48 
GeneralRe: Why do we JIT compile everytime a program runs in.NET? Pin
Pete O'Hanlon9-Apr-13 23:54
protectorPete O'Hanlon9-Apr-13 23:54 
AnswerRe: Why do we JIT compile everytime a program runs in.NET? Pin
jschell10-Apr-13 8:22
memberjschell10-Apr-13 8:22 
QuestionThe SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Jak Anil from Hyderabad, India9-Apr-13 6:44
memberJak Anil from Hyderabad, India9-Apr-13 6:44 
AnswerRe: The SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Bernhard Hiller9-Apr-13 23:34
memberBernhard Hiller9-Apr-13 23:34 
GeneralRe: The SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Jak Anil from Hyderabad, India9-Apr-13 23:49
memberJak Anil from Hyderabad, India9-Apr-13 23:49 
QuestionRegarding LdapSessionOptions.SecureSocketLayer Pin
Gaurav Ruhela9-Apr-13 2:27
memberGaurav Ruhela9-Apr-13 2:27 
QuestionWPF Dialog locks all threads Pin
AeroClassics8-Apr-13 18:32
memberAeroClassics8-Apr-13 18:32 
AnswerRe: WPF Dialog locks all threads Pin
Richard Deeming9-Apr-13 4:21
professionalRichard Deeming9-Apr-13 4:21 
GeneralRe: WPF Dialog locks all threads Pin
AeroClassics9-Apr-13 12:13
memberAeroClassics9-Apr-13 12:13 
QuestionDifference between MVC3 and MVC4 Pin
Jak Anil from Hyderabad, India5-Apr-13 0:58
memberJak Anil from Hyderabad, India5-Apr-13 0:58 
AnswerRe: Difference between MVC3 and MVC4 Pin
Dave Kreskowiak5-Apr-13 1:55
mvpDave Kreskowiak5-Apr-13 1:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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.170424.1 | Last Updated 23 Apr 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid