Re: MFC vs .NET
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Wed, 16 Aug 2006 12:49:01 -0400
Managed apps use MSIL. MSIL is compiled "just in time" by the "JIT compiler" into native
code. This code is comparable in quality to moderately optimized native code from the
C/C++ compiler. I tend to worry when people who are talking about "efficiency" of the
"application" also deal with user interfaces and databases; in general, the delay to get
anything INTO your address space is two or three orders of magnitude slower than the code
that is going to process it, even if the code is really poor, and code that interacts with
the user rarely has performance constraints. Unless you're doing massive string
processing, image convolution or DSP algorithms, code performance is rarely a concern. If
nothing else, do a little performance measurement on an example of what you think is the
critically-important code and see if it really matters. Compare this time with the time
required to perform a query (locally) or the additional time required to deliver the
result of a query (network delays) and see if the time spent actually matters. Without
these numbers, discussions of "efficiency" don't even make sense.
joe
On Thu, 17 Aug 2006 09:15:58 +0430, "Leon_Amirreza" <amirreza_rahmaty@xxxxxxxxx> wrote:
if i create a managed app in vc++ .net 2005 which would happen?Joseph M. Newcomer [MVP]
1- creates a native exe or dll that uses .Net as library
2- creates a .Net Managed exe or dll exactly like what c# does
for performace consideration i need to run native to run in the kernel of my
app but also use .Net library (like forms class ADO .NET) because of the
rich capabilities. anyway i can do it in vs 2005?
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: MFC vs .NET
- From: Leon_Amirreza
- Re: MFC vs .NET
- From: Leon_Amirreza
- Re: MFC vs .NET
- References:
- MFC vs .NET
- From: Leon_Amirreza
- MFC vs .NET
- Prev by Date: Re: Dialog Dosent close?!
- Next by Date: Re: Dialog Based App
- Previous by thread: Re: MFC vs .NET
- Next by thread: Re: MFC vs .NET
- Index(es):
Relevant Pages
|
Loading