Mail Archives: djgpp/1995/08/07/21:17:46
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:1402
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!news.mathworks.com!zombie.ncsc.mil!simtel!harbinger.cc.monash.edu.au!silas.cc.monash.edu.au!junaid
|
From: | junaid AT silas DOT cc DOT monash DOT edu DOT au (Mr A. Walker)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: ** Comparison between DJGPP V2 & WATCOM C V10 **
|
Date: | 7 Aug 1995 10:37:04 GMT
|
Organization: | Monash University
|
Lines: | 43
|
References: | <DCoB11 DOT 1LD AT jade DOT mv DOT net>
|
Nntp-Posting-Host: | silas.cc.monash.edu.au
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Jorrit Tyberghein (Jorrit DOT Tyberghein AT uz DOT kuleuven DOT ac DOT be) wrote:
: > This is about the 2nd most ridiculous post I've seen on such subjects.
: > This fellow has hard facts to support a claim. You present nothing but
: > arrogance. Present some numbers to back up your claim that with
: > "applications" (whatever those are) the code is significantly better than
: > other products or at least comparable, and so the case is different from
: > what happens with "hello-worlds" (whatever those are), or just shut up
: > and go away.
: I'm writing a database program. The source is about 35000 lines so I think
: it is big enough for comparison. I was using Borland C 3.00. It generated
: code of about 230K. Now I have switched to DJGPP 1.12maint4 (not 2.0 yet)
: and it generates code of about 230K. So in my case the code size is about
: the same (note that you have to strip the symbols from the executable
: before comparing and I also used -O3 for the best optimization).
-O3 makes exe's fatter by about 20% because of inlining, and
in general has only a very minor speed gain, -O2 is the 'best' IMHO.
Then again gcc is a much more agressive optimizer than BC. But i remember
that MSC V7.x is even more savage, and made excelent register scheduling
optimisations.
Junaid
: Anyway, the code size was about the same but the speed gain with DJGPP was
: enourmous.
: > How rude!
: Greetings,
: ==============================================================================
: Jorrit DOT Tyberghein AT uz DOT kuleuven DOT ac DOT be, University Hospitals KU Leuven BELGIUM
: The vermine is a small black and white relative of the lemming, found in
: the cold Hublandish regions. Its skin is rare and highly valued, especially
: by the vermine itself; the selfish little bastard will do anything rather
: than let go of it.
: -- Discworld wildlife
: (Terry Pratchett, Sourcery)
: ==============================================================================
- Raw text -