comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: A note on GNAT 3.05 performance
Date: 1996/06/24
Date: 1996-06-24T00:00:00+00:00	[thread overview]
Message-ID: <dewar.835632352@schonberg> (raw)
In-Reply-To: 4qm6kg$1f7a@watnews1.watson.ibm.com

Norman said

"That was (a small) part of the motivation for access parameters.  If RT
is a record type and you are concerned about the potential inefficiency
of passing RT parameters by copy, and you don't trust your compiler to do
the right thing,..."

This would be more useful if there were not the restriction that an
access parameter must be non-null. There has even been some discussion
of dropping this (rather arbitrary) restriction for interfaced
subprograms. In practice it means that access parameters are not nearly
as useful as they first seem for interfacing, and that you have to use
named access types anyway.

Note also that an access parameter requires a junk acessibility level
hidden parameter to be passed. This at least one hopes is suppressed
for foriegn conventions.





      reply	other threads:[~1996-06-24  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-20  0:00 A note on GNAT 3.05 performance Robert Dewar
1996-06-21  0:00 ` Michael F Brenner
1996-06-22  0:00   ` Robert Dewar
1996-06-22  0:00   ` Jerry van Dijk
1996-06-24  0:00     ` Robert Dewar
1996-06-28  0:00       ` progers
1996-06-28  0:00       ` Robert A Duff
1996-06-24  0:00 ` Dale Pontius
1996-06-24  0:00   ` Robert Dewar
1996-06-24  0:00   ` Norman H. Cohen
1996-06-24  0:00     ` Robert Dewar [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