Is MC++ faster that C# and VB.NET ?

  • Thread starter Thread starter Ereinion
  • Start date Start date
E

Ereinion

I've read quite many discussions about c++ vs c#. In one forum,
someone said that in Longhorn C# will be as fast as C++, because it's
a managed os. But when I read on microsoft.com, about the pros and
cons of the languages in VS, I get the impression that C++ will
generate faster MSIL code too(than C#). Anyone who knows if this is
right or wrong?
 
Ereinion said:
I've read quite many discussions about c++ vs c#. In one forum,
someone said that in Longhorn C# will be as fast as C++, because it's
a managed os. But when I read on microsoft.com, about the pros and
cons of the languages in VS, I get the impression that C++ will
generate faster MSIL code too(than C#). Anyone who knows if this is
right or wrong?

First off, Longhorn isn't a managed OS. It's (more or less) Windows XP with
a new UI shell, that shell being managed. The underlying OS is still good
old native C/C++ code.

Given how the Avalon UI is described, it's likely that there will be little
or no performance difference in a UI-intensive application written entirely
using managed APIs between C# and C++.

Given that the underlying OS is still native at it's core, C++ will still
have an advantage for applications that need to do things that are
"unusual". The VC++ team is also quite dedicated to making sure the VC++
is the best language to do .NET development, so it'll be interesting to see
how actual performance varies by language when the real products ship.

-cd
 
Back
Top