This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Win 95 console business


Hi!
  I haven't done anything like an exhaustive study, but I
did just happen to have the opportunity to run one of my
own programs using gcc and VC++.  The code was a linear
optimization code, similar in it's general structure to
sparse Gaussian elmination--lots of floating point, a
little disc I/O, nothing fancy. I the VC++ compiled code to
be about 30% faster than the gcc compiled version of the
code.
cheers
john


On Thu, 6 Nov 1997, Larry Hall wrote:

> At 01:43 PM 11/6/97 +0100, Peter Boncz wrote:
> >Hi there:
> >
> >Let me declare that I am totally uninterested i M$ bashing or holy wars,
> >but skimming over this message I saw the following remark:
> >
> >> And have you ever used VC++? It compiles faster and makes better code than
> >> gcc does (last time I looked) and it has a far nicer environment.
> >
> >My question to the net community: is this true, and how much is the
> >difference?? Has anyone compared the two on NT or even Win95?
> >
> >I know that the cygwin library adds overhead on top of WIN32 calls,
> >but apart from that, if you just look at a program spending CPU time
> >on reading/writing memory arrays and the like (i.e. little OS calls), 
> >what kind of performance difference typically comes out of
> >the same program being compiled with gcc -O3 and optimizing VC++?
> >
> >I mean, I always thought that gcc -O3 was pretty competitive, at 
> >least that is my experience with gcc on solaris in comparison
> >with the sun cc/CC.
> >
> 
> I've no experience with this myself but if I remember some other people's
> similar pursuits from the past correctly, differences where mostly of the 
> type that could be shifted one way or the other by setting a few more flags 
> or altering values of existing flags.  I came away with the impression that 
> gcc/g++ was competitive with VC++, each with slight advantages in different
> areas.  Someone else may have specifics that prove this not to be the case
> though....
> 
> Larry Hall                              lhall@rfk.com
> RFK Partners, Inc.                      (781) 239-1053
> 8 Grove Street                          (781) 239-1655 - FAX
> Wellesley, MA  02181                             
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]