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,FREEMAIL_FROM autolearn=ham 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.66.84.65 with SMTP id w1mr1453970pay.37.1344321831327; Mon, 06 Aug 2012 23:43:51 -0700 (PDT) Path: p10ni243pbh.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!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!ctu-gate!news.nctu.edu.tw!usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: Re: Suitability of Ada as a general-purpose language Date: Wed, 1 Aug 2012 16:57:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5d3fb55c-0594-4564-8524-79dec7733a88@googlegroups.com> References: NNTP-Posting-Host: 90.196.211.214 Mime-Version: 1.0 X-Trace: posting.google.com 1343865897 24786 127.0.0.1 (2 Aug 2012 00:04:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 2 Aug 2012 00:04:57 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.196.211.214; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 X-Received-Bytes: 2567 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-08-01T16:57:57-07:00 List-Id: On Monday, July 30, 2012 12:43:46 PM UTC+1, Dufr wrote: > I have a dilemma: whether to learn Ada or Delphi/Object Pascal (I have a only Pascal background, and I wish to stick with Pascal-like languages). My target would be to write day-to-day (business, educational, etc), relatively simple desktop applications. I have and always will maintain that with Pascal you are limited as to how far you can go, standard Pascal doesn't have a lot, so you have to rely on different dialects. Whereas with Ada the language will grow as you do. Also, even though you cannot really judge a language on the size of it's hello world program and how that size compares to other languages, I thought I'd do a test on 32-bit debian: with ada.text_io; use ada.text_io; procedure hello is begin put_line ("hello world"); end hello; $ /usr/bin/gnatmake -O2 hello.adb $ ls -l hello -rwxr-xr-x 1 laguest laguest 16563 Aug 2 00:39 hello $ strip hello $ ls -l hello -rwxr-xr-x 1 laguest laguest 9128 Aug 2 00:39 hello and then: $ /usr/bin/gnatmake -O2 hello.adb -cargs -fdata-sections -ffunction-sections -largs -Wl,--gc-sections $ ls -l hello -rwxr-xr-x 1 laguest laguest 12842 Aug 2 00:43 hello $ strip hello $ ls -l hello -rwxr-xr-x 1 laguest laguest 8584 Aug 2 00:43 hello Should give you an idea. Luke.