From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada extension information
Date: Fri, 29 May 2009 19:25:53 -0500
Date: 2009-05-29T19:25:53-05:00 [thread overview]
Message-ID: <gvpufa$l7h$1@munin.nbi.dk> (raw)
In-Reply-To: 0d9fe71d-788c-46b0-8c5b-18bd229d7246@r3g2000vbp.googlegroups.com
"Martin" <martin.dowie@btopenworld.com> wrote in message
news:0d9fe71d-788c-46b0-8c5b-18bd229d7246@r3g2000vbp.googlegroups.com...
...
>> Is it not jumping the gun a little to use these extensions to document
>> standard libraries before they become official, or even documented?
>
>Probably not, as there is nothing I know of requires the standard
>libraries to be written in Ada, let alone 'vanilla' Ada.
>
>Even if it was in the public part of the specification I guess it
>would still be ok if used for something 'implementation-defined'.
That is correct. There is no requirement that Ada standard packages be
implemented in Ada (although generally the standard tries to make that
possible). I think it is unusual if all of the standard packages *are*
implemented in Ada.
For instance, Janus/Ada has a couple of units implemented in assembler, and
there are also a number of standard packages that are 'built-in'; that is
there is no implementation at all (the compiler just generates the needed
code).
Obviously, portability is enhanced if units don't depend on
compiler-specific features, but that hardly matters for the language-defined
units. No one is going to try to compile the Janus/Ada Ada.Text_IO package
with GNAT (or vice versa) -- both compilers have their own!
Randy.
next prev parent reply other threads:[~2009-05-30 0:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-28 18:26 Ada extension information info
2009-05-28 18:30 ` Martin
2009-05-30 0:25 ` Randy Brukardt [this message]
2009-05-28 21:22 ` Georg Bauhaus
2009-05-28 21:31 ` Georg Bauhaus
2009-05-28 22:06 ` Adam Beneschan
2009-05-30 7:13 ` anon
2009-05-30 10:13 ` info
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox