[Mono-devel-list] RAPGO Proposal

Willibald Krenn Willibald.Krenn at gmx.at
Wed Dec 1 09:15:36 EST 2004


Jonathan Pryor schrieb:
> On Tue, 2004-11-30 at 14:45 +0100, Willibald Krenn wrote:
> <snip/>
> 
>>AMD64 also has a standardized interface for stack-unwinding (=exception 
>>handling; I guess it was inspired by IA64.)
> 
> 
> Just because there's a standardized interface doesn't mean it has to be
> used. :-)  I wonder if Windows Structured Exception Handling uses it...

Ah, I meant the interface to be standardized on AMD64 Linux.. Don't know 
what MS is doing in that direction.


> That would be an argument for extending the C language.  Would anyone
> else like MSVC-style __try/__catch/__finally blocks?  Or am I just a
> sick bastard?

Exceptions do have advantages: You don't need to ask on every 
sub-routine call if it has failed - instead the subroutine will tell 
you. So you save (run)time by omitting these checks - at the same time 
you are still on the safe side..

I would say 'why not add them?'. :-)


>>BTW: On Linux-AMD64 it's possible (as  probably in IA64) that different 
>>compilers can catch exceptions thrown in modules compiled with 'foreign' 
>>C++/whatever compilers.
> 
> 
> This only requires that the compilers agree in the C++ ABI.

Every language (not only C++) can catch other languages exceptions.. So 
I wouldn't call that C++ ABI - instead it's more of an platform ABI.

Willi




More information about the Mono-devel-list mailing list