Re: MFC vs .NET



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

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: WHY HAS THIS SITE BECOME SUCH A SPAM TARGET???
    ... compare two sets of data 1)email content moving through MTA gateways ... with 2)email content at the email client level, ... or that violate MUA rules. ... It would cause a delay; how much delay would depend on the ...
    (sci.math)
  • Re: Disabling The Keyboard
    ... compare this difference with the delay. ... whether you use a signed or unsigned brach condition. ... Prev by Date: ...
    (alt.lang.asm)
  • ROM lookup table delay question
    ... I need to compare the delay of a ROM lookup table to a multiplier. ...
    (comp.arch)
  • Re: NBC- Pelosi
    ... They won big while she was minority leader, ... I wouldn't compare her to either Hastert or DeLay--I ... than that absolutely rotten partisan DeLay. ...
    (rec.music.artists.springsteen)

Loading