comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Re: Alternate to Unchecked_Conversion - Portable?
Date: 1999/02/27
Date: 1999-02-27T00:00:00+00:00	[thread overview]
Message-ID: <7b8cva$ii5$2@plug.news.pipex.net> (raw)
In-Reply-To: m3pv6x2ybe.fsf@mheaney.ni.net

Matthew Heaney wrote in message ...
|"Nick Roberts" <Nick.Roberts@dial.pipex.com> writes:
|> robert_dewar@my-dejanews.com wrote in message
|> <7b3fk2$lnk$1@nnrp1.dejanews.com>...
|> [...]
|> |  OO : TT renames UC (O);
|> Is this legal?
|
|Yes, because there is a subtle difference between what a function
|returns in Ada95 vs Ada83.  Functions now return "constant objects,"
|whereas before, they returned "values."


Thanks Matt.  There it is -- RM95 4.1 -- crystal clear.

And I defer to what Robert was saying about compiler optimisations.  Nearly
all optimisations are delicate things: there are many, many ways of
potentially making correct output code go bad, often subtle and nasty ways;
it is indeed easy to look at a specific piece of source code and say "oh
well it ought to produce ... object code", but very, very hard to build in
so many special optimisations to a compiler that you can be sure it will
produce the best possible code in every circumstance!

I shall try :-)

-------------------------------------
Nick Roberts
-------------------------------------







  reply	other threads:[~1999-02-27  0:00 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-21  0:00 Alternate to Unchecked_Conversion - Portable? Steve Doiel
1999-02-21  0:00 ` Steve Quinlan
1999-02-22  0:00   ` robert_dewar
1999-02-21  0:00 ` Matthew Heaney
1999-02-22  0:00 ` Christopher Green
1999-02-23  0:00   ` Matthew Heaney
1999-02-23  0:00     ` Samuel Mize
1999-02-24  0:00     ` robert_dewar
1999-02-25  0:00       ` Nick Roberts
1999-02-25  0:00         ` robert_dewar
1999-02-26  0:00           ` Nick Roberts
1999-02-26  0:00             ` Matthew Heaney
1999-02-27  0:00               ` Nick Roberts [this message]
1999-02-24  0:00   ` robert_dewar
1999-02-23  0:00     ` Christopher Green
1999-02-25  0:00       ` robert_dewar
1999-02-24  0:00         ` Christopher Green
1999-02-25  0:00           ` robert_dewar
1999-02-25  0:00             ` dennison
1999-02-25  0:00               ` Christopher Green
1999-02-26  0:00                 ` Tom Moran
1999-02-26  0:00                   ` robert_dewar
1999-02-26  0:00                 ` robert_dewar
1999-02-26  0:00                   ` Christopher Green
1999-03-01  0:00                     ` Nick Roberts
1999-03-01  0:00                       ` dewar
1999-03-01  0:00                         ` Nick Roberts
1999-02-26  0:00             ` Robert A Duff
1999-02-28  0:00               ` robert_dewar
1999-02-23  0:00     ` Christopher Green
1999-02-25  0:00       ` robert_dewar
1999-02-24  0:00         ` Christopher Green
1999-02-25  0:00           ` robert_dewar
1999-02-26  0:00             ` Dale Stanbrough
1999-02-26  0:00               ` Robert A Duff
1999-02-22  0:00 ` robert_dewar
1999-02-22  0:00   ` Samuel Mize
1999-02-22  0:00 ` Tom Moran
replies disabled

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