delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/05/09:45:52

Date: Thu, 5 Jun 1997 16:42:19 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: Speed of DJGPP?
In-Reply-To: <3.0.16.19970606115220.356f2bc0@hem1.passagen.se>
Message-ID: <Pine.SUN.3.91.970605163426.6732A-100000@is>
MIME-Version: 1.0

On Thu, 5 Jun 1997, Peter Palotas wrote:

> Although, I presume DJGPP makes faster code than BC!?

For the cases where 32-bit protected mode and flat address space makes 
code simpler, DJGPP indeed produces faster code than BC.

> Although, it produces
> about the same code as Watcom from what I have understood, so the question
> is, why does it have to be slower?

One reason is that GCC is a portable compiler whereas Watcom is hand-tuned
to the x86 architecture.  The other reason is that GCC is multi-pass 
compiler (i.e., it invokes several passes in different programs), which 
slows it down somewhat.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019