Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2006

Tip: Looking for answers? Try searching our database.

performance , speed and portability of VC++.NET and VC++ 6.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bhag - 31 Jul 2006 09:10 GMT
hi all,
      I'm writing because I haven't been able to find enough
information at the
book stores and at the MS web site on some of my questions.  Perhaps
I'm
asking the wrong questions, but if you could help me out here, I'd
really
appreciate it.
       Iam a project trainee. I have to give an presentation over the
topic, For engineering applications, whether VC++ 6.0 is more suitable
than other .NET or not. For that i need to know about the performance,
portability etc.,
   
sincerely,
Bhargav
David Wilkinson - 31 Jul 2006 14:38 GMT
> hi all,
>        I'm writing because I haven't been able to find enough
[quoted text clipped - 11 lines]
> sincerely,
> Bhargav

Bharhav:

You may be confused.

There are 4 recent versions of Visual Studio, each with its own version
of the Visual C++ compiler:

Visual Studio 6 (VC6)
Visual Studio 2002.NET (VC7)
Visual Studio 2003.NET (VC7.1)
Visual Studio 2005 (VC8)

And there are two kinds of programs

Native Win32 (or Win 64) programs
Programs that require the .NET runtime

So (due to a crazy naming decision by Microsoft marketing), .NET can
have two meanings. Try to forget that Visual Studio 2002/2003 have the
.NET in their name.

All four of the above versions of Visual Studio can generate native
Win32 programs. Each version of the compiler is better than the one
before, but many people still use VC6 because they prefer the IDE.

Visual Studio 6 cannot be used to generate native Win64 programs, but
the others can.

Visual Studio 6 cannot be used to generate programs for the .NET
runtime. The others can, but they support different versions of the runtime:

Visual Studio 2002: version 1.0
Visual Studio 2003: version 1.1
Visual Studio 2005: version 2.0

HTH,

David Wilkinson
Carl Daniel [VC++ MVP] - 31 Jul 2006 14:57 GMT
> hi all,
>       I'm writing because I haven't been able to find enough
[quoted text clipped - 8 lines]
> than other .NET or not. For that i need to know about the performance,
> portability etc.,

To add to David's fine answer:

Each new version of VC++ has been more standard compliant than the one
before.  VC6 is non-compliant in many many areas, VC7 a little better.
VC7.1 was a huge leap in conformance, and VC8 makes minor improvements
beyond that.  If you're interested in portable C++ code, you're best off
using VC7.1 or VC8.  Large open source C++ libraries like Boost compile with
VC7.1 and VC8 and work perfectly.

Each compiler has generally seen optimizer improvements as well, so code
compiled with the same options will generally be faster when compiled with a
newer compiler.  Confounding that trend, some defaults have changed, and a
great deal more runtime checking has been added to debug builds, so while
fully optimized release builds have gotten faster, debug builds have gotten
slower - in some cases a lot slower - but the additional runtime checks will
help you identify and locate a large number of bugs that the older runtime
library would have let you get away with (or simply crashed mysteriously).

As David said, many C++ users have stuck with VC6 because they prefer the
IDE.  In my experience, those are users that are heavily invested in MFC,
which has much better IDE support in VC6 than in the later versions.  If
you're not using MFC (and if you're worried about portable code, then you
shouldn't be using MFC), then the differences in the newer IDEs are much
less painful.  For my own work, I found that after I used the new IDE for a
couple weeks, I much preferred it over the VC6 version.  Your mileage may
vary.

-cd

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.