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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e9f27bbe0678fdfc X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: huge executable?? Date: 2000/05/14 Message-ID: <9EET4.760$pN4.423580@news.pacbell.net>#1/1 X-Deja-AN: 623367073 References: <391E09C3.FA04871E@mailandnews.com> X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 958338693 206.170.24.56 (Sun, 14 May 2000 14:11:33 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Sun, 14 May 2000 14:11:33 PDT Newsgroups: comp.lang.ada Date: 2000-05-14T00:00:00+00:00 List-Id: > 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.