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

Message-Id: <199706051312.PAA23996@zeus.hu.bonus.com>
From: "Gyorgy Abonyi" <loop AT hu DOT bonus DOT com>
To: "Peter Palotas" <blizzar AT hem1 DOT passagen DOT se>
Cc: <djgpp AT delorie DOT com>
Subject: Re: Speed of DJGPP?
Date: Thu, 5 Jun 1997 15:12:35 +0200
MIME-Version: 1.0

Peter Palotas <blizzar AT hem1 DOT passagen DOT se> wrote:

> Although, I presume DJGPP makes 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?

This's becouse the DOS4GW extender what watcom uses, replaces the most real
mode DOS functions, with it's own 32-bit versions, so with Watcom the file
I/O operations don't need 32/16 bit mode switching, what is really slow... 
DJGPP doesn't provide 32 bit version of DOS functions, so it have to switch
between 32 and 16 bit modes alot....

And compiling uses a lot of file I/O, so that's the reason, why DJGPP
compilation times longer than Watcom's and VC's.. (VC calls the Win32 API,
that uses 32 bit file I/O... no mode changes...).

Gyorgy Abonyi Jr.
loop AT hu DOT bonus DOT com



- Raw text -


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