[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

IL Code similar among VS languages?

ABC

6/24/2008 2:23:00 PM

Is there a huge difference in the intermidiate language code produced by VS
among the different languages supported? For example, does the IL code
generated in a C# program strongly resemble the IL code generated by a
similar program written in say VB?


2 Answers

Marc Gravell

6/24/2008 2:40:00 PM

0

Pretty much, yes. The obvious exception would be any language-sepcific
features. The managed-C++ compiler might be an exception, in that it
supposedly does a few more compiler (rather than JIT) optimisations.

The IL is similar enough, for instance, that Reflector does a fair job
of porting between them on-the-fly...

Marc

Pavel Minaev

6/25/2008 2:31:00 PM

0

On Jun 24, 6:22 pm, "nicnat" <a...@nospam.com> wrote:
> Is there a huge difference in the intermidiate language code produced by VS
> among the different languages supported?  For example, does the IL code
> generated in a C# program strongly resemble the IL code generated by a
> similar program written in say VB?

Yes, with the notable exception of JScript.NET.