473,395 Members | 1,702 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,395 software developers and data experts.

VC7.1 vs. VC6 C Compile time

Ys
Hello,

I have just migrated my project from VC6 to VC7.1. The
project is mostly written in C, and some in C++ without
MFC (Console application). I am on Win2k.
I am not using managed code in VC7.1.

I am experiencing VC7.1 C compile time taking about 4
times of VC6, though interestingly C++ stays within +10%
margin. This is the same for debug, so it is not
optimization.

Has anyone seen C compiler slowness?

I hope this is not known fact.
Any information and/or tips are appreciated.

If I am in wrong newsgroup, please direct me to the one
which may help.

Thanks in advance,

Ys
Nov 16 '05 #1
3 1505
the compile time the compiler take denpends on the available memory in u r
machine,well the vs.net' MDE enviroment takes so much (about 100Ms),which
deeply slow down the process:)
u can speed up the compile time by do it without the MDE-----use the
commandline mode
Nov 16 '05 #2
Ys
Thanks for the response.
I have 1 gig memoy on my mchine. So 100M should not be a
major issue. I will give it a try running cl.exe from
command line. Hope that speed things up.
But I am masuring the time by the first .obj generated to
the last, I guess IDE or dependeny checking is out of
scope.

Any other thoughts on this?
I appreciate any input, includng even "I am not seeing
this phenominon".

Thanks bunch.
-----Original Message-----
the compile time the compiler take denpends on the available memory in u rmachine,well the vs.net' MDE enviroment takes so much (about 100Ms),whichdeeply slow down the process:)
u can speed up the compile time by do it without the MDE- ----use thecommandline mode
.

Nov 16 '05 #3
On aggregate we tend to be about 20% or so slower due to the increased
conformance work in the compiler which has effects on some of the critical
paths. 3x is definitely a real outlier and we would be interested to see
what is happening if you have a sensible size example to repro it (and are
willing to share the code with us for us to investigate). In that case shoot
me a mail at r_***********@microsoft.com without the underscores.

Ronald Laeremans
Visual C++ team

"Ys" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
Thanks for the response.
I have 1 gig memoy on my mchine. So 100M should not be a
major issue. I will give it a try running cl.exe from
command line. Hope that speed things up.
But I am masuring the time by the first .obj generated to
the last, I guess IDE or dependeny checking is out of
scope.

Any other thoughts on this?
I appreciate any input, includng even "I am not seeing
this phenominon".

Thanks bunch.
-----Original Message-----
the compile time the compiler take denpends on the

available memory in u r
machine,well the vs.net' MDE enviroment takes so much

(about 100Ms),which
deeply slow down the process:)
u can speed up the compile time by do it without the MDE-

----use the
commandline mode
.

Nov 16 '05 #4

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

Similar topics

17
by: newbiecpp | last post by:
I have hard time to understand run-time environment. Let assume that I have a program that has a simple variable alpha. When this variable is statically allocated, the compiler can use the...
5
by: Carmine Cairo | last post by:
Hi, I'm working on a project and today I've note a little problem during the compile fase. Here a little piece of code: // 1st version welldone = 0; size = p->getSize(); backbone = new...
10
by: Bart Goeman | last post by:
Hi, I have a question about how to put redundant information in data structures, initialized at compile time. This is often necessary for performance reasons and can't be done at run time (data...
2
by: Glen | last post by:
I'm working on a custom assembly and I'm trying to figure out the best approach to handling known constraints within the assembly, once compiled, to alert the developer at compile time of a...
12
by: Ark | last post by:
Hello NG, I arrange data in structs like { members... uint16_t crc; more members, maybe... } Then I need to save them, up to and including crc, in non-volatile memory or a file, as the case...
15
by: steve yee | last post by:
i want to detect if the compile is 32 bits or 64 bits in the source code itself. so different code are compiled respectively. how to do this?
9
by: ThunderMusic | last post by:
Hi, I'd like to create a compile time error in my class... maybe there's a way already built in in the framework so I can achieve what I want... I have 2 constructors in my class. One of them...
19
by: Rahul | last post by:
Hi, Is there a way to find the offset of a class member at compile time. e.g. class A{ int i; int j; char c; }; Here the offset of c = 8 bytes from the start of an object of A (assuming 4...
16
by: desktop | last post by:
I have read that using templates makes types know at compile time and using inheritance the types are first decided at runtime. The use of pointers and casts also indicates that the types will...
27
by: CodeMonk3y | last post by:
gotta question on sizeof keyword does the sizeof keyword calcuates the size at compile time or run time ?? -- Posted on news://freenews.netfront.net - Complaints to news@netfront.net --
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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.