473,394 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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

Jul 31 '06 #1
2 1623
bhag wrote:
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
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
Jul 31 '06 #2
bhag wrote:
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.,
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
Jul 31 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Gustavo L. Fabro | last post by:
Greetings! Getting straight to the point, here are the results of my experiment. I've included my comments and questions after them. The timing: (The total time means the sum of each line's...
133
by: Gaurav | last post by:
http://www.sys-con.com/story/print.cfm?storyid=45250 Any comments? Thanks Gaurav
1
by: spiff | last post by:
We are migrating from VC++ 6 to VC++ 2003. It is a plain, unmanaged application with both C and C++ source. When running the debug build, even outside the debugger, the memory allocation/deallocation...
29
by: Olaf Baeyens | last post by:
Because of historical reasons, I have both C# and C++ managed/unmanaged code mixed together in my class library. But I prefer to port code to C# since it compiles faster and the syntax is much...
0
by: bhag | last post by:
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...
93
by: jacob navia | last post by:
In this group there is a bunch of people that call themselves 'regulars' that insist in something called "portability". Portability for them means the least common denominator. Write your code...
5
by: =?Utf-8?B?U2hhcm9u?= | last post by:
I have a class that is writen in unmanaged pure native C++. This class files (h and cpp) are inserted to a managed C++ (VC++ 2005, C++/CLI) DLL compoenet. This DLL compoenet is used in a C#...
16
by: Lars Uffmann | last post by:
Does anyone have a good suggestion? I am currently using Eclipse Europa with the C-Development Toolkit (plus gnu-toolchain under cygwin) and the Widestudio Native Application Builder plugin. ...
8
by: =?ISO-8859-1?Q?Konrad_M=FChler?= | last post by:
Hi, I've a list of objects. I iterate the list and read the value of each object for many operation like: x = myList.value1 + myList.value2 etc. My question: Is it efficient to always use...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.