Click here to Skip to main content
15,867,568 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and 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
Jasmine250119-Apr-13 10:53 
QuestionDatabase Security Design Pin
Bram van Kampen9-Apr-13 13:44
Bram van Kampen9-Apr-13 13:44 
AnswerRe: Database Security Design Pin
jschell10-Apr-13 8:27
jschell10-Apr-13 8:27 
GeneralRe: Database Security Design Pin
Bram van Kampen13-Apr-13 16:12
Bram van Kampen13-Apr-13 16:12 
GeneralRe: Database Security Design Pin
Jasmine250119-Apr-13 10:13
Jasmine250119-Apr-13 10:13 
AnswerRe: Database Security Design Pin
Jasmine250119-Apr-13 10:16
Jasmine250119-Apr-13 10:16 
QuestionWhy do we JIT compile everytime a program runs in.NET? Pin
Rob Philpott9-Apr-13 9:40
Rob 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
subeditorPete 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
Rob 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
subeditorPete 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
Rob 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
subeditorPete 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
Rob 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
subeditorPete O'Hanlon9-Apr-13 23:54 
AnswerRe: Why do we JIT compile everytime a program runs in.NET? Pin
jschell10-Apr-13 8:22
jschell10-Apr-13 8:22 
QuestionThe SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Jak Anil9-Apr-13 6:44
Jak Anil9-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
Bernhard Hiller9-Apr-13 23:34 
GeneralRe: The SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Jak Anil9-Apr-13 23:49
Jak Anil9-Apr-13 23:49 
QuestionRegarding LdapSessionOptions.SecureSocketLayer Pin
Gaurav wpf9-Apr-13 2:27
Gaurav wpf9-Apr-13 2:27 
QuestionWPF Dialog locks all threads Pin
AeroClassics8-Apr-13 18:32
professionalAeroClassics8-Apr-13 18:32 
AnswerRe: WPF Dialog locks all threads Pin
Richard Deeming9-Apr-13 4:21
mveRichard Deeming9-Apr-13 4:21 
GeneralRe: WPF Dialog locks all threads Pin
AeroClassics9-Apr-13 12:13
professionalAeroClassics9-Apr-13 12:13 
QuestionDifference between MVC3 and MVC4 Pin
Jak Anil5-Apr-13 0:58
Jak Anil5-Apr-13 0:58 
AnswerRe: Difference between MVC3 and MVC4 Pin
Dave Kreskowiak5-Apr-13 1:55
mveDave 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.