comp.lang.ada
 help / color / mirror / Atom feed
From: DELCOURT J�r�me <sikander@club-internet.fr>
Subject: Re: huge executable??
Date: 2000/05/15
Date: 2000-05-15T20:20:54+00:00	[thread overview]
Message-ID: <3920DA5B.2F56@club-internet.fr> (raw)
In-Reply-To: 9EET4.760$pN4.423580@news.pacbell.net

tmoran@bix.com wrote:
> 
> > why is the .EXE produced by Ada so much bigger?
>   It's not Ada, it's the particular compiler's run-time for the
> particular OS.  Your Hello program compiled to 67K with a different
> compiler.  Dropping the "with ada.text_io" and raising an unhandled
> "hello_world:exception" instead, that went down to 37K.  Looking at
> some old DOS .com programs in Ada, I find a 100 line one that
> HTML-izes a text file and compiles to 19K.  The same program,
> compiled to run under 32 bit Windows, is now 73K.
>   The more important question is, is size a problem with real
> programs that do something substantial.

I think that a reduced executable size is important, since that
allows a better use of the CPU cache memory, so that could improve
the speed of the program.

Concerning that problem, I suspect that, with GNAT, there is not
a good elimination of the unused code.

Sincerely, Jerome Delcourt




  parent reply	other threads:[~2000-05-15  0:00 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-13  0:00 huge executable?? David Dousette
2000-05-14  0:00 ` Gautier
2000-05-14  0:00   ` David Dousette
2000-05-14  0:00     ` Gautier
2000-05-14  0:00 ` tmoran
2000-05-15  0:00   ` Roger Barnett
2000-05-15  0:00   ` DELCOURT J�r�me [this message]
2000-05-15  0:00     ` Gisle S�lensminde
2000-05-15  0:00     ` Robert Dewar
2000-05-15  0:00       ` Lutz Donnerhacke
2000-05-15  0:00         ` Robert Dewar
2000-05-16  0:00           ` Lutz Donnerhacke
2000-05-16  0:00             ` tmoran
2000-05-16  0:00             ` Robert Dewar
2000-05-16  0:00               ` Lutz Donnerhacke
2000-05-16  0:00         ` Geoff Bull
2000-05-16  0:00           ` huge executable?? - worry no more Tom Hargraves
2000-05-16  0:00             ` Martin Dowie
2000-05-16  0:00             ` Marin D. Condic
2000-05-16  0:00             ` Robert Dewar
2000-05-19  0:00               ` Richard D Riehle
2000-05-19  0:00                 ` Ken Garlington
2000-05-16  0:00             ` Gautier
2000-05-16  0:00         ` huge executable?? tmoran
2000-05-16  0:00           ` Lutz Donnerhacke
2000-05-18  0:00         ` (null)
2000-05-16  0:00       ` Robert A Duff
2000-05-16  0:00         ` Larry Kilgallen
2000-05-16  0:00           ` Gautier
2000-05-16  0:00             ` Larry Kilgallen
2000-05-17  0:00           ` Robert A Duff
2000-05-16  0:00       ` Florian Weimer
2000-05-16  0:00         ` Robert Dewar
2000-05-16  0:00       ` Gautier
2000-05-16  0:00         ` Robert Dewar
2000-05-15  0:00   ` David Starner
2000-05-19  0:00     ` Lutz Donnerhacke
2000-05-14  0:00 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox