C++.Net Performance

  • Thread starter Thread starter JamesBlack
  • Start date Start date
J

JamesBlack

Hi Guys,
I'm writing some addin modules for my C# app in managed C++.Net. I've
noticed that managed C++ is slower than C#, or at least it seems to be. The
startup for an empty form takes noticeably longer. Is this just a startup
thing, or is there really a performance difference between C# and manged
C++?
James
 
Hello!

Yes there are significant performance differences between C# and C++ in
favor of C++. C++ is usually 25% faster and currently MSFT works very hard
to integrate C++ more deeply into .NET 2.0 and Whidbey in order to leverage
that advantages.

PDC conference materials have some inforamation on that so perhaps you
should refer to them. In your case it may be the problem of specific
application design differences between C# and C++ code.

Cheers

Jacek
 
I find Managed C++ almost unusably slow in debug mode.
Have you tried a release build? It seems OK for us in a release build?
 
Hello James,
I have always thought that the MC++ compiler was just as good as C#'s or better. What I mean by better, is in the sense that MC++ compiler has switch to optimize MSIL.

Best of luck!

Your C# ally ,
RBischoff


J> I find Managed C++ almost unusably slow in debug mode. Have you tried
J> a release build? It seems OK for us in a release build?
J>
J> "JamesBlack" wrote:
J>
 
Back
Top