PDA

Click to See Complete Forum and Search --> : Compiling in .NET


AIS_DK
May 19th, 2001, 09:20 AM
A while ago, I heard that it would only be possible to compile into pseudo-code when using VB.NET.

Since I havn't got a copy of VB.NET I havn't been able to see if this is true.

So does any one here know whether or not it's true?

Frans C
May 21st, 2001, 01:41 AM
In .NET the code gets compiled into IL (intermediate language) which gets compiled at runtime by a JIT (Just In Time) compiler.
This makes it possible to compile for the specific processor used.

Paul Warren
May 24th, 2001, 03:17 AM
Basically the JIT compiler compiles the code the first time it is called then sticks it in memory until it's no longer needed. The thing about IL is that all .net languages will compile into it so there's no longer a performance difference between langs like C#, C++ and VB. In fact the only differences between the languages is syntax, not capabilities or performance.

AIS_DK
May 24th, 2001, 03:35 AM
Have you done any test on the speed of this new code?

I know, that we are only talkning about the first Beta edition, and that Micro$oft properly will optimize in further, but still, how fast is it?

Paul Warren
May 24th, 2001, 03:47 AM
At the moment it is dog slow but MS are saying that it is completely unoptimised and that you can't release performance figures yet. The plan is that between Beta 2 and final release the only thing they will be doing is optimising. In fact they are saying that you should start developing with Beta 2.