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.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,912597791e813f68 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-06 12:39:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: advantages or disadvantages of ADA over pascal or modula Date: Mon, 6 Jan 2003 14:33:58 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3E18804E.8606224E@t-online.de> <0k2S9.253946$qF3.23112@sccrnsc04> X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:32638 Date: 2003-01-06T14:33:58-06:00 List-Id: tmoran@acm.org wrote in message <0k2S9.253946$qF3.23112@sccrnsc04>... >> > About the big size of executables, there are other Ada compilers >> > than GNAT (with smart linking for instance). >> >> Well, I work with Aonix special edition sometimes, but if you do not use > There are extreme differences in executable sizes for different >compilers. Presumably it's mostly dependent on smart linking, run-time >packaging, and debugging info. For Claw programs, there is an order of magnitude difference between the best and worst compilers for code size. Our compiler (Janus/Ada) is by far the best. We don't generally advertise this fact for two reasons: -- We haven't studied the other compilers closely enough to know whether we're using the best possible switches. Our purpose is testing, not size benchmarks. -- When I've made local generated code comparisons, other compilers often do better. So I'm not willing to say much about our code quality. The empty program on Windows makes an 29K .EXE file, the majority of that is Windows overhead (the actual code size is about 13500 bytes plus a little over 1K for data). The runtime can be recompiled without exception walkback support, which would save another 1.5K. Randy Brukardt