Welcome! and rules
Joel on Software
Mixing managed and unmanaged C++ performance
Is there anyone who has experience with severe performance issues as a consequence of mixing managed and unmanaged C++?
And if so, what kind of machine (specs) did you use?
We ask this, since our team is wondering if we should take the effort to apply the workarounds, mentioned on the web, regarding mixing managed and unmanaged code when we are going to implement.
Thanks in advance!
Friday, June 18, 2004
Performance sucks when calling managed code from an unamanaged host (exe), especially when the managed stuff is in a seperate DLL, and you have more than one unmanaged targets (i.e. an unmanaged EXE, with an unmanaged DLL, which both call Managed code).
DO NOT DO THIS.
There are also some wierd things that happen with respect to memory leaks. Basically, the .net framework reports heaps of memory leaks in the application, and there doesn't seem to be anything that can be done about it.
Also - the managed code seems to run very slowly, and again there doesn't seem to be much that you can do about it. DO NOT DO THIS.
Wednesday, June 23, 2004
Fog Creek Home