Click to See Complete Forum and Search --> : C++.NET compiler delays


indiocolifa
August 24th, 2003, 02:47 PM
anybody knows why everytime I compiled a windows forms application the form takes from 3 to 10 secs to appear?

i'm using vs2003

thanks.

MooNull
August 24th, 2003, 02:58 PM
At compilation time, the program is compiled into MSIL [Microsoft Intermediate Language]. Upon runtime, the MSIL code in the .exe is further compiled into CLR [Command Language Runtime]. The extra time for the appearance of the window is the latter compilation. My advice is to get a faster comp or limit the amount of processes you have running while you code.

Of course, I do reserve the right to be utterly wrong about the compiling part.

indiocolifa
August 24th, 2003, 03:56 PM
so, this is normal? a delay of 8 secs, e.g, is normal?
then the .net compiler is a S**t

Andreas Masur
August 24th, 2003, 05:13 PM
Well...I cannot say much about managed applications....however, for unmanaged ones it has quite improved... :cool:

However, you have to differentiate here a little bit....using managed applications is basically the same scenario as it would be with Java. The code needs to be interpreted. Thus, in terms of .NET it will be compiled the first time you run it...thus takes time...

indiocolifa
August 24th, 2003, 07:19 PM
all right... I will stick to native code, for now.
I feel comfortable with Win32 native API now, altough i'm thinking about the next version of Windows... will the flat Win32 (orWin64) API will be vanished.???

Thank you.