PDA

Click to See Complete Forum and Search --> : .Net Languages?


ICESTORM
Jan 22nd, 2007, 07:55 PM
Are they all compiled to the same thing?

Does C++ lose it's speed or something?


Is C# faster than VB? E.g. If you were to have a 5mil list of words and sorted them w/ quicksort, would one be faster than the other?

Advantages/Disadvantages between the .Net languages?

jmcilhinney
Jan 22nd, 2007, 08:05 PM
They're all compiled to MSIL, which is compiled to machine code on-demand by the .NET Framework JIT compiler. If execution speed is of great importance then unmanaged C++ is what you should be using. All .NET languages produce essentially the same MSIL code, although VB.NET can produce slightly more verbose output in some situations. The main speed benefit of C# comes from the fact that it supports pointers where VB.NET does not, which can be very beneficial in certain circumstances.