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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7acba51c7f27ee27 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.238.67 with SMTP id vi3mr84485pbc.6.1337213991280; Wed, 16 May 2012 17:19:51 -0700 (PDT) MIME-Version: 1.0 Path: pr3ni7070pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!nuzba.szn.dk!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: is having a complex type as built-in the languages vs. being in standard package makes performance difference? Date: Wed, 16 May 2012 19:19:48 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1337213990 32298 69.95.181.76 (17 May 2012 00:19:50 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 17 May 2012 00:19:50 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Date: 2012-05-16T19:19:48-05:00 List-Id: "Nasser M. Abbasi" wrote in message news:jp0rf3$5kq$1@speranza.aioe.org... ... > On a side-note, any one knows why when Ada was originally designed > in late 1970's, why complex type was not included as part of its > basic data types? I think it was considered much less frequently used than the other datatypes, and probably that it had a high overhead for small embedded systems. So not including it by default made sense. (Our early Janus/Ada compilers had floating point optional, because of the high overhead on small machines like the Z80 CP/M machines that we started out on. The float library took up 20% of the code space on those machines, so it was rarely used. Complex is used a lot less often than basic floats.) Randy.