comp.lang.ada
 help / color / mirror / Atom feed
From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: C++ to Ada95, help please
Date: Thu, 23 Mar 1995 18:31:05 GMT
Date: 1995-03-23T18:31:05+00:00	[thread overview]
Message-ID: <D5wort.F4B@inmet.camb.inmet.com> (raw)
In-Reply-To: D5w7z1.8n5@ss3.magec.com

Mike Meier (mjmeie@ss5.magec.com) wrote:

> Tucker Taft (stt@henning.camb.inmet.com) wrote:
> : I believe GNAT supports a pragma "Unchecked_Union" (approximately) which
> : is applied to a discriminated record to make it look like a C
> : union.

> : <snip>

> : It is hoped that this pragma will become a defacto standard for Ada 95
> : compilers that support interfacing to C.

> : -Tucker Taft  stt@inmet.com
> : Intermetrics, Inc.

> I hate to pick a bone with Tuck just after approval of Ada 95.  But, if
> he hopes this will become a defacto standard, why wasn't it just included
> in the language definition?

There is a fairly big difference between a defacto standard and a dejure 
standard in terms of lead-time, energy required, etc.  If such a pragma had 
been proposed a few years ago, we could have done the work to write it up 
precisely in Reference-Manual-ease, and sent it around for review, and 
revised it, and polished it, and ...  Unfortunately, the consensus developed
around this pragma only in the past 6 months.

In any case, I would expect there to be many de-facto standards
in the area of implementation-defined pragmas, attributes, and
generally useful packages.  The Uniformity Rapporteur Group (URG)
of the ISO Working Group on Ada (WG9) was established specifically
to encourage uniformity in areas that were left open to implementor
and user creativity by the inevitably limited standardization process.

I would expect GNAT to be the vanguard for defacto standards, since
it will be freely available on so many platforms.  Other Ada 95 vendors
will probably try to follow GNAT's lead, unless there is a real
dispute about the appropriateness of a pragma or attribute.
The URG will probably emerge as the forum for resolving such disputes.

> Mike Meier
> Magnavox Electronic Systems Company

-Tucker Taft  stt@inmet.com
Intermetrics, Inc.



  reply	other threads:[~1995-03-23 18:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-20  8:06 C++ to Ada95, help please Simon Johnston
1995-03-21 23:27 ` Kevin F. Quinn
1995-03-22  5:07   ` Vladimir Vukicevic
1995-03-22  1:22 ` Tucker Taft
1995-03-22 11:38   ` Robb Nebbe
1995-03-23 12:28   ` Mike Meier
1995-03-23 18:31     ` Tucker Taft [this message]
1995-03-24 21:24     ` Robert Dewar
1995-03-27 14:58       ` Norman H. Cohen
1995-03-23 13:30   ` Robert Dewar
1995-03-23 18:01 ` Stephen A. Leake
1995-03-24  9:07   ` Vladimir Vukicevic
1995-03-25 10:02     ` Keith Thompson
  -- strict thread matches above, loose matches on Subject: below --
1995-03-08  7:54 Simon Johnston
1995-03-08 13:56 ` Robert A Duff
1995-03-09 21:23 ` Tucker Taft
replies disabled

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