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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,4d3e59455e947c5e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.24.202 with SMTP id w10mr1274836wif.0.1344263185277; Mon, 06 Aug 2012 07:26:25 -0700 (PDT) Received: by 10.42.132.5 with SMTP id b5mr4478307ict.7.1344263184961; Mon, 06 Aug 2012 07:26:24 -0700 (PDT) Received: by 10.68.141.225 with SMTP id rr1mr104635pbb.2.1344262848765; Mon, 06 Aug 2012 07:20:48 -0700 (PDT) Path: n2ni69501013win.0!nntp.google.com!7no2474954wig.0!news-out.google.com!g9ni15484229pbo.0!nntp.google.com!4no7583069pbo.1!news-out.google.com!p10ni16353762pbh.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!novia!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Mon, 30 Jul 2012 18:11:21 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Suitability of Ada as a general-purpose language References: In-Reply-To: Message-ID: <5016b21c$0$6566$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 30 Jul 2012 18:11:08 CEST NNTP-Posting-Host: cf501923.newsspool4.arcor-online.net X-Trace: DXC=?IbX_eG1C8=nBOkdL^Lo7>4IUK:Lh>_cHTX3j=Tfa96?L7[W8 X-Complaints-To: usenet-abuse@arcor.de X-Received-Bytes: 2874 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-07-30T18:11:08+02:00 List-Id: On 30.07.12 17:26, Dufr wrote: > My worry, which I hope you can dispel, is that the compiled code of my > (subset-)Ada program may still be less efficient in term of executable > file size and of execution speed. Why would that be? Ada was designed so that it would be good for hard real-time systems. Responsiveness and compact code are a must. Overhead is an enemy. Checks can be controlled. Fewer features (of a profile/subset) may even mean a smaller run-time system. > Just for a reality check, how big is the executable file of the Hello > World program? (in simple text mode to standard output). The size of an executable will depend on whether the run-time system is a dynamically linked library as usual, or whether you link all of the Ada run-time system (and other libraries). A few ten KiB in the first case. > Also, would there be really so much syntax overhead (verbosity, for > one), even if I decide to use only a subset of the language (leaving > out advanced features like concurrency etc)? An Ada subset means fewer features, but the amount of syntax adding to its readability is not changed much. Usually, having to clearly state their wishes as program text helps the programmers to (later) actually understand what they have written.