473,583 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1647
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
2449
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 drawing time. Time is measured in clock ticks (from QueryPerformanceCounter() API). The processor resolution (QueryPerformanceFrequency()) for my
133
8490
by: Gaurav | last post by:
http://www.sys-con.com/story/print.cfm?storyid=45250 Any comments? Thanks Gaurav
1
2063
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 performance appears to be orders of magnitude slower than in VC++ 6. The release build runs fine - no performance problems. We've rewritten some...
29
1779
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 more readable so I can do more in less time. The big question now, will I gain/lose performance, given the fact that I create pure managed code, if...
0
231
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 could help me out here, I'd really appreciate it. Iam a project trainee. I have to give a presentation over the topic, For engineering...
93
3915
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 so that it will compile in all old and broken compilers, preferably in such a fashion that it can be moved with no effort from the embedded system...
5
7249
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# application. My question is: Does the performance of the unmanaged pure native C++ class described above is the same if it was a in a pure unmanaged...
16
2608
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. While I am surprised I actually got this configured and running, it has some things that I do not like too much - especially a couple of bugs (build...
8
1616
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 myList or should I get the pointer to
0
7888
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8159
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8185
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3811
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3836
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1416
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.