Click here to Skip to main content
15,919,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: Runtime Compilation - Worth It? Pin
Frank Hileman10-Apr-03 6:06
Frank Hileman10-Apr-03 6:06 
GeneralRe: Runtime Compilation - Worth It? Pin
Eric Astor10-Apr-03 6:51
Eric Astor10-Apr-03 6:51 
GeneralRe: Runtime Compilation - Worth It? Pin
Frank Hileman10-Apr-03 8:28
Frank Hileman10-Apr-03 8:28 
Just curious about the "expensive in terms of memory" comment. In one of our apps, we are generating code dynamically and compiling it, at either design-time or run-time, according to the user's requirements. Noticing that the codedom compiler was simpler than vsa, and allows C#, we used that. I noticed that compilation occurs out-of-process, except for jscript.net, even if you specify in-memory. If you force the compile into another process (in the case of jscript) the overhead seems to be entirely in time and not memory. Unless I am missing something.

We had to allow run-time code generation because the user's object hierarchy might be built at run-time. Normally, however, the hierarchy is built, code is generated and compiled, all at design-time. If you are curious, the app provides a way to graphically connect objects to realtime data sources, for process control and similar purposes. The compilation is needed for expression evaluation, and to avoid boxing during data transfer.

Regards,
Frank Hileman
GeneralRe: Runtime Compilation - Worth It? Pin
Eric Astor10-Apr-03 10:01
Eric Astor10-Apr-03 10:01 
GeneralRe: Runtime Compilation - Worth It? Pin
Frank Hileman10-Apr-03 11:18
Frank Hileman10-Apr-03 11:18 
QuestionSockets with Server but what event? Pin
gekoscan13-Jan-03 11:28
gekoscan13-Jan-03 11:28 
GeneralRemoting (events/delegates) Pin
leppie13-Jan-03 9:40
leppie13-Jan-03 9:40 
GeneralRe: Remoting (events/delegates) Pin
James T. Johnson14-Jan-03 8:19
James T. Johnson14-Jan-03 8:19 
GeneralRe: Remoting (events/delegates) Pin
leppie14-Jan-03 10:08
leppie14-Jan-03 10:08 
GeneralRe: Remoting (events/delegates) Pin
James T. Johnson15-Jan-03 0:02
James T. Johnson15-Jan-03 0:02 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 6:32
leppie15-Jan-03 6:32 
GeneralRe: Remoting (events/delegates) Pin
Gertjan Schuurmans15-Jan-03 12:13
Gertjan Schuurmans15-Jan-03 12:13 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 13:27
leppie15-Jan-03 13:27 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 14:41
leppie15-Jan-03 14:41 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 21:44
leppie15-Jan-03 21:44 
GeneralRe: Remoting (events/delegates) Pin
Gertjan Schuurmans16-Jan-03 7:20
Gertjan Schuurmans16-Jan-03 7:20 
GeneralRe: Remoting (events/delegates) Pin
leppie16-Jan-03 10:56
leppie16-Jan-03 10:56 
QuestionHow to use the SqlClientPermission? Pin
shanelhatcher13-Jan-03 7:48
shanelhatcher13-Jan-03 7:48 
AnswerRe: How to use the SqlClientPermission? Pin
leppie13-Jan-03 9:44
leppie13-Jan-03 9:44 
GeneralRe: How to use the SqlClientPermission? Pin
shanelhatcher14-Jan-03 8:02
shanelhatcher14-Jan-03 8:02 
GeneralFullscreen Alt-Tab problem in ManagedD3D Pin
Zinj13-Jan-03 2:22
sussZinj13-Jan-03 2:22 
GeneralRe: Windows Service & Console Server application Pin
Kannan Kalyanaraman13-Jan-03 1:14
Kannan Kalyanaraman13-Jan-03 1:14 
Generalrun external programm and catch results Pin
Daishi100213-Jan-03 0:11
Daishi100213-Jan-03 0:11 
GeneralRe: run external programm and catch results Pin
Daishi100213-Jan-03 0:58
Daishi100213-Jan-03 0:58 
GeneralBest COM and .NET interop book Pin
Oyvind Bratland12-Jan-03 21:18
Oyvind Bratland12-Jan-03 21:18 

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.