C++.Net Performance

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
 
J

Jacek

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
 
G

Guest

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?
 
R

RBischoff

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top