comp.lang.ada
 help / color / mirror / Atom feed
From: gdemont@my-deja.com
Subject: Re: WinNT ADA compilers comparison
Date: 2000/08/02
Date: 2000-08-02T00:00:00+00:00	[thread overview]
Message-ID: <8m9a08$pu7$1@nnrp1.deja.com> (raw)
In-Reply-To: 8m8psc$ef6$1@nnrp1.deja.com

Nicolas BRUNOT:

> Platform is WinNT 4 with Gnat 3.12p
> we tried a lot of optimisation, strip etc ...

Did you avoid inlining (-gnatn or -gnatN) too ?
A solution would be to share more instanciations of generics
e.g. having common subtypes. Create 1-line packages for those
generic ones used many times:
"with such_generic; package such_inst is new such_generic(x,y,z);"
If there are many main procedures p1, p2,...
(-> several linked executables p1.exe, p2.exe)
using almost the same packages, shell them through a common one
"with p1,p2,...; procedure p is..."

> In comparison to others compilers (not only Alsys ADA83) Gnat produces
> incredibly huge executables when you make intensive use of generics
> (using a lot of generics is a quite normal and desirable thing in ADA
> according to us)
>
> We of course use generics (and generics of generics ....) which is may
> be one of the most important and powerful ADA features, allowing you
> not spending your time writing more or less the same code, and keep
> strong compiler check.
>
> reaching sizes of more than 40 or 50 Mo start to be a real inconvenient
> when others compilers are 4 or 5 times smaller

And what makes you unhappy with the Ada95 compilers other than GNAT ?

G.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-08-02  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-20  0:00 WinNT ADA compilers comparison Nicolas Brunot
2000-07-20  0:00 ` Stephen Leake
2000-07-20  0:00   ` Pascal Obry
2000-07-20  0:00 ` tmoran
2000-07-20  0:00 ` Thierry Lelegard
2000-07-20  0:00   ` Lionel Draghi
2000-07-21  0:00     ` Nicolas Brunot
2000-07-22  0:00       ` Thierry Lelegard
2000-07-24  0:00         ` Nicolas Brunot
2000-07-25  0:00           ` G. de Montmollin
2000-08-02  0:00             ` n_brunot
2000-07-26  0:00           ` Laurent Guerby
2000-08-02  0:00             ` n_brunot
2000-08-02  0:00               ` gdemont [this message]
2000-08-03  0:00                 ` n_brunot
2000-08-03  0:00                   ` Brian Rogoff
2000-08-03  0:00                     ` tmoran
2000-08-04  0:00                     ` Robert A Duff
2000-08-15  4:56               ` Robert I. Eachus
2000-08-16  0:00                 ` n_brunot
replies disabled

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