IL Code similar among VS languages?

  • Thread starter Thread starter nicnat
  • Start date Start date
N

nicnat

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?
 
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
 
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.
 
Back
Top