comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Ada Core Technologies announces GNATCOM
Date: 2000/04/13
Date: 2000-04-13T00:00:00+00:00	[thread overview]
Message-ID: <8d54bm$t2$1@nnrp1.deja.com> (raw)
In-Reply-To: wccd7nvazxw.fsf@world.std.com

In article <wccd7nvazxw.fsf@world.std.com>,
  Robert A Duff <bobduff@world.std.com> wrote:

> Robert Dewar <robert_dewar@my-deja.com> writes:
>
> > Indeed the quoted paragraph above is EXACTLY the confusion
> > that caused this unsupportable design of the C_Pass_By_COpy
> > pragma in the first place.
>
> I don't recall it that way.  I think the reasoning was that
when people
> conceptually want to pass a struct in C, they usually pass a
pointer to
> it, so we should mimic that.  Flawed reasoning, I admit.  But
surely you
> don't think that the designers of Ada 9X were confused about
the
> difference between passing by reference, versus passing the
address of a
> copy?!

I don't understand the above paragraph in relation to the
C_Pass_By_Copy pragma as opposed to the RM. My quote above
was specifically about this pragma.

> > Unfortunately, there is nothing much we can do at this stage
> > except live with a little mess here, luckily cases where C
> > programmers pass records as parameters (as opposed to
pointers
> > to records) are rare.

> Yes.  Somehow, "rare" became "nonexistent, so don't worry
about it."
> *That* was the mistake.


Again, you seem to be talking about the RM here, the
C_Pass_By_Copy is all about dealing with the rare case???


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-04-13  0:00 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-07  0:00 Ada Core Technologies announces GNATCOM Robert Dewar
2000-04-07  0:00 ` Vladimir Olensky
2000-04-08  0:00   ` Robert Dewar
2000-04-07  0:00 ` Ted Dennison
2000-04-08  0:00 ` Tom Hargraves
2000-04-08  0:00   ` David
2000-04-08  0:00   ` Robert Dewar
2000-04-08  0:00   ` David Starner
2000-04-08  0:00 ` tmoran
2000-04-08  0:00   ` Robert Dewar
2000-04-09  0:00     ` tmoran
2000-04-12  0:00       ` Robert Dewar
2000-04-12  0:00         ` C_Pass_By_Value, was " tmoran
2000-04-12  0:00         ` Tarjei T. Jensen
2000-04-12  0:00           ` Robert Dewar
2000-04-12  0:00             ` Robert A Duff
2000-04-13  0:00               ` Robert Dewar [this message]
2000-04-13  0:00                 ` Robert A Duff
2000-04-15  0:00                   ` Robert Dewar
2000-04-12  0:00           ` David Botton
2000-04-12  0:00             ` Robert Dewar
2000-04-12  0:00               ` DuckE
2000-04-13  0:00                 ` Robert Dewar
2000-04-12  0:00               ` David Botton
2000-04-12  0:00                 ` Hyman Rosen
2000-04-12  0:00                   ` David Botton
2000-04-13  0:00                     ` Tarjei T. Jensen
2000-04-13  0:00                     ` Robert Dewar
2000-04-14  0:00                       ` Geoff Bull
2000-04-14  0:00                         ` dale
2000-04-13  0:00                 ` Robert Dewar
2000-04-09  0:00     ` tmoran
2000-04-09  0:00       ` Larry Kilgallen
2000-04-09  0:00         ` Marin D. Condic
2000-04-09  0:00           ` Brian Rogoff
2000-04-09  0:00             ` David Starner
2000-04-10  0:00               ` Gisle S�lensminde
2000-04-10  0:00                 ` Hyman Rosen
2000-04-11  0:00                   ` Gisle S�lensminde
2000-04-11  0:00                     ` Hyman Rosen
2000-04-10  0:00             ` Marin D. Condic
2000-04-09  0:00         ` Robert Dewar
2000-04-09  0:00         ` Robert Dewar
2000-04-09  0:00         ` tmoran
2000-04-11  0:00         ` Tucker Taft
2000-04-09  0:00       ` Robert Dewar
2000-04-08  0:00   ` David Botton
replies disabled

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