comp.lang.ada
 help / color / mirror / Atom feed
From: mrs@kithrup.com (Mike Stump)
Subject: Re: GNAT versions ( was :Ada compiler for PC?)
Date: 1999/05/06
Date: 1999-05-06T00:00:00+00:00	[thread overview]
Message-ID: <FBAEH2.9C0@kithrup.com> (raw)
In-Reply-To: 7gpsrd$qc7$1@nnrp1.dejanews.com

>I still find the documentation of the exception handling stuff
>in GCC inadequate.

Well, feel free to donate improvements to the documentation, gcc
always welcomes clarifications and more complete explanations.  :-)
I'd be happy to answer your questions about it.

>One unfortunate consequence is that the GNAT exception handling has
>been developed entirely independently,

Well, I take exception to the word entirely.  There was a mailing list
called eh@cygnus.com, and we discussed tons of details and issues,
from many language perspectives, including Ada and C++.

This experience shaped and drove my implementation, the implementation
that now exists in gcc.

I would anticipate that it did the same for the Ada implementation.
If true, they are closely related.

>I suspect that there could be more merging,

Sure, each front end can replicate it's own exception scheme[1], but
this is a poor design.  A better design is where the common aspects of
the design are shared by the frontends as facilities in the backend.
C++ and Java already share EH.  Chill needs to be converted, but there
is no pressing need, as not to many people use or maintain it.

:-)  Yes, I know you already knew that.  I say it, just to nag a little,
in hopes that Ada will embrace the functionality that is now there and
extend it.

>because to have an exception handling mechanism usable by both C++
>and Ada 95, a perfectly reasonable goal, would require careful
>examination of the specifications *before* starting to implement.

:-)  Yes, and that was done to a large extent.  The missing pieces are
meant to slot into the existing design, in a natural way.


1 - Actually, my experience is that this is not possible, that is
    _why_ EH is now in gcc.  The frontend implementation could only
    go so far, then things like flow, really wanted to know more and
    understand more.




  reply	other threads:[~1999-05-06  0:00 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-17  0:00 Ada compiler for PC? Michael Feher
1999-04-17  0:00 ` Steven Hovater
1999-04-17  0:00 ` Tom Moran
1999-04-18  0:00   ` Tom Moran
1999-04-20  0:00   ` Larry Kilgallen
1999-04-20  0:00     ` Robert Dewar
1999-04-20  0:00       ` GNAT versions ( was :Ada compiler for PC?) SpamSpamSpam
1999-04-21  0:00         ` Robert Dewar
1999-04-21  0:00           ` Glen
1999-04-21  0:00             ` Robert Dewar
1999-04-21  0:00             ` Larry Kilgallen
1999-04-21  0:00               ` root
1999-04-22  0:00                 ` Robert Dewar
1999-04-22  0:00                   ` Glen
1999-04-23  0:00                     ` Robert Dewar
1999-04-22  0:00                       ` Russell Senior
1999-04-23  0:00                         ` Samuel Mize
1999-04-23  0:00                           ` Robert Dewar
1999-04-23  0:00                           ` Russell Senior
1999-04-23  0:00                             ` Samuel Mize
1999-04-25  0:00                               ` Robert Dewar
1999-04-23  0:00                             ` Robert Dewar
1999-04-23  0:00                               ` Larry Kilgallen
1999-04-24  0:00                             ` Russ Allbery
     [not found]                             ` <7fqld6$htu$1@nnrp1.dej <1999Apr23.172908.1@eisner>
1999-04-24  0:00                               ` Fergus Henderson
     [not found]                               ` <7frqmj$bg6$1@mulga.cs.mu.oz.au>
1999-04-24  0:00                                 ` Leslie Mikesell
1999-04-25  0:00                                   ` Robert Dewar
1999-04-25  0:00                                     ` Russ Allbery
1999-04-25  0:00                                       ` Robert Dewar
1999-04-25  0:00                                     ` Maciej Stachowiak
1999-04-26  0:00                                       ` Robert Dewar
1999-04-25  0:00                                         ` Maciej Stachowiak
1999-04-26  0:00                                         ` Per Bothner
1999-04-27  0:00                                           ` Stan Shebs
1999-04-27  0:00                                           ` Robert Dewar
1999-04-27  0:00                                           ` Robert Dewar
1999-04-27  0:00                                             ` Matthew Heaney
1999-04-28  0:00                                               ` Robert Dewar
1999-04-28  0:00                                                 ` David Kastrup
1999-04-28  0:00                                                   ` Robert Dewar
1999-04-29  0:00                                                 ` Per Bothner
1999-04-30  0:00                                                   ` Robert Dewar
1999-05-04  0:00                                                   ` Mike Stump
1999-05-05  0:00                                                     ` Robert Dewar
1999-05-06  0:00                                                       ` Mike Stump [this message]
1999-05-06  0:00                                                         ` Robert Dewar
1999-05-06  0:00                                                           ` Andi Kleen
1999-05-06  0:00                                                             ` Robert Dewar
1999-05-07  0:00                                                           ` Mike Stump
1999-05-07  0:00                                                             ` Robert Dewar
1999-05-08  0:00                                                       ` Pascal F. Martin
1999-05-08  0:00                                                         ` Robert Dewar
1999-05-08  0:00                                                           ` bill
1999-05-17  0:00                                                   ` Richard Kenner
1999-05-19  0:00                                                     ` Nick Roberts
1999-04-23  0:00                         ` bourguet
1999-04-25  0:00                           ` Geoffrey KEATING
1999-04-25  0:00                             ` Robert Dewar
1999-04-25  0:00                               ` EGCS & GNAT Was (Re: GNAT versions) David Starner
1999-04-26  0:00                                 ` Robert Dewar
1999-04-26  0:00                                 ` Robert Dewar
1999-04-26  0:00                               ` GNAT versions ( was :Ada compiler for PC?) Geoffrey KEATING
1999-04-26  0:00                             ` bourguet
     [not found]                             ` <7fua23$fgh$1@nnrp1 <37234dca.a509d0d9@aasaa.ofe.org>
1999-04-26  0:00                               ` EGCS & GNAT Was (Re: GNAT versions) Larry Kilgallen
1999-04-23  0:00                         ` GNAT versions ( was :Ada compiler for PC?) Pascal Obry
1999-04-23  0:00                           ` dennison
1999-04-23  0:00                             ` Robert Dewar
1999-04-24  0:00                           ` Christopher Browne
1999-04-24  0:00                       ` Ronald Cole
1999-04-22  0:00                 ` dennison
1999-04-20  0:00       ` Ada compiler for PC? Tom Moran
1999-04-18  0:00 ` Wilhelm Spickermann
     [not found] ` <7fua23$fgh$1@nnrp1 <37234dca.a <1999Apr25.201259.1@eisner>
1999-04-25  0:00   ` EGCS & GNAT Was (Re: GNAT versions) Leslie Mikesell
1999-04-26  0:00     ` Larry Kilgallen
1999-04-26  0:00       ` Robert Dewar
1999-05-04  0:00         ` Mike Stump
1999-05-05  0:00           ` Robert Dewar
1999-04-26  0:00     ` Robert Dewar
replies disabled

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