Re: Structured exception information
- From: Robert A Duff <bobduff@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 20 Jan 2007 17:07:18 -0500
Stephen Leake <stephen_leake@xxxxxxxxxxxxxxxx> writes:
I'm certainly not willing to give up any of Ada's other features to
get it.
I think there's no need to give up anything.
If you look into the details of "structured exception handling" in
other languages and implementations, they have bugs, and fundamental
flaws in design.
Please be more specific.
Well, I can't. I plead guilty to arguing from authority and vague
memory on this one. The memory is of discussions of problems with
various exception implementations in C++ and Java, on other
newsgroups.
OK, fair enough.
Here's my vague memory:
C++ always had finalization (destructors). Later on, exceptions were
added. There was much moaning and gnashing of teeth from implementers,
claiming "exceptions are hard to implement properly".
Ada always had exceptions. Later on, finalization was added. There
was much moaning and gnashing of teeth from implementers, claiming
"finalization is hard to implement properly".
The truth is, the interactions between exceptions and finalization are
nasty, and hard to get right.
- Bob
.
- Follow-Ups:
- Re: Structured exception information
- From: Dmitry A. Kazakov
- Re: Structured exception information
- References:
- Structured exception information
- From: Maciej Sobczak
- Re: Structured exception information
- From: Stephen Leake
- Re: Structured exception information
- From: Maciej Sobczak
- Re: Structured exception information
- From: Stephen Leake
- Re: Structured exception information
- From: Maciej Sobczak
- Re: Structured exception information
- From: Stephen Leake
- Re: Structured exception information
- From: Robert A Duff
- Re: Structured exception information
- From: Stephen Leake
- Structured exception information
- Prev by Date: Re: Structured exception information
- Next by Date: Re: Translating an embedded C algorithm
- Previous by thread: Re: Structured exception information
- Next by thread: Re: Structured exception information
- Index(es):
Relevant Pages
|