Cristian Diaconu wrote:
> I'm trying to understand the possible reasons why filters
> have been added to .NET.

I guess it boils down to three issues (for me).
1) Is the performance difference between two-pass and one-pass relevant?
I would argue it isn't. Exception handling is expensive. Programmers
know that. Making it a little more expensive isn't that big a deal IMHO.
2) As far as I can tell, EXCEPTION_CONTINUE_EXECUTION requires filters.
This functionality is *very* nice to have, and while it is currently not
implemented, I'm pretty sure future versions will implement it.
3) It maps nicely onto the Windows SEH implementation, but isn't very
portable to other OSses. It seems obvious to me that Microsoft would
consider both the former and the latter a plus ;-)

Regards,
Jeroen

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to