Re: Native vs manage code

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Chris Tacke, eMVP (ctacke[at]OpenNETCF_dot_org)
Date: 10/05/04


Date: Tue, 5 Oct 2004 00:19:29 -0400

At the end of the day, it realy boils down to the specific app. i think you
can write managed code that rivals unmanged in perf in most application
scenarios, but is it worth making convoluted code to do it? Managed and
unmanaged both have their place, and any more I think a blend of the two is
really the sweet spot for just about every app.

-Chris

"Alain Roberge" <floroberge1@hotmail.com> wrote in message
news:2B13B397-96C1-40A3-9EED-9853CDFC81A8@microsoft.com...
> Hi,
> We develop a new platform using WCE5.0. This platform is a test &
> Measurement device. The software must process on a great amount of data.
> This data cames from a custom device develop by us.
>
> I need to know what is the difference (performance) between application
> write using native code or manage code?
>
> It is true that the performance of an application, using manage code,
> dramatically drop when it communicate with a native code component?
>
> Our driver to communicate with our hardware is a native code DLL. If the
> caller application use manage code, does the performance drop too when it
> doing call to the driver?
>
> Thank you for advice



Relevant Pages

  • Re: VS 2005 questions
    ... guilty of forcing developers to install legacy versions of their software. ... I don't want the overhead of a legacy app on my laptop hard drive ... Hopefully by the time the next Visual Studio comes out, ... only one looking forward to being able to install only one Managed code IDE ...
    (microsoft.public.vsnet.general)
  • Re: which is a better dev language
    ... Java is not real time either - no runtime with a GC is. ... Managed code on the desktop succeeds for the same ... Run a .NET app on a Palm device with a Palm OS? ... Managed code has a slow startup as the framework is loaded and JITted ...
    (microsoft.public.pocketpc.developer)
  • Re: Native vs manage code
    ... I'd try to do my device I/O via managed code, but it is very useful because ... > dramatically drop when it communicate with a native code component? ... > Our driver to communicate with our hardware is a native code DLL. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: C++.NET Performance against C#
    ... > This is where the language shines. ... Native code may perform better in some situations, ... There are some reasons that make managed code a little bit slower: ... Sometimes these mechanisms ...
    (microsoft.public.dotnet.languages.vc)
  • Re: VS 2005 (NO sp1)
    ... webservice are different projects in fact different machines. ... developer webproject just for debug modules, ... selected and both the web service and device app are configured to Start. ... Managed Code in the Embedded World ...
    (microsoft.public.dotnet.framework.compactframework)