From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b16c9883f36bc904 X-Google-Attributes: gid103376,public From: gdemont@my-deja.com Subject: Re: WinNT ADA compilers comparison Date: 2000/08/02 Message-ID: <8m9a08$pu7$1@nnrp1.deja.com>#1/1 X-Deja-AN: 653608660 References: <3976C68A.12386D00@cadwin.com> <8l7fff$9kb$1@front1.grolier.fr> <3A92E737.E690906A@free.fr> <3978041A.EB0F8FCE@cadwin.com> <8lcgbi$gvb$1@front5.grolier.fr> <397C03F9.AF6DF60F@cadwin.com> <86zon5aio7.fsf@acm.org> <8m8psc$ef6$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x51.deja.com:80 (Squid/1.1.22) for client 130.125.13.32 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Aug 02 14:08:12 2000 GMT X-MyDeja-Info: XMYDJUIDgdemont Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.74 (Macintosh; U; PPC) Date: 2000-08-02T00:00:00+00:00 List-Id: 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.