comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
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
Date: 2012-05-16T19:19:48-05:00	[thread overview]
Message-ID: <jp1g76$vha$1@munin.nbi.dk> (raw)
In-Reply-To: jp0rf3$5kq$1@speranza.aioe.org

"Nasser M. Abbasi" <nma@12000.org> 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.





      parent reply	other threads:[~2012-05-17  0:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 18:25 is having a complex type as built-in the languages vs. being in standard package makes performance difference? Nasser M. Abbasi
2012-05-16 19:23 ` Georg Bauhaus
2012-05-16 21:08   ` Jerry
2012-05-16 21:33     ` georg bauhaus
2012-05-17  1:48       ` Isaac Gouy
2012-05-16 19:26 ` gautier_niouzes
2012-05-17  0:19 ` Randy Brukardt [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox