on Sun Sep 06 2009, Mathias Gaunard <loufoque-AT-gmail.com> wrote:
> On 5 sep, 07:01, George Neuner <gneun...@comcast.net> wrote:
>> >Unless you're targeting 64-bit windows, you're not testing a
>> >particularly good EH implementation.
>> ??? 64-bit Windows uses the same SEH implementation as 32-bit.
>> C++ EH is slightly faster than Windows SEH. In VS2008 you can choose
>> which to use. If you mean the 64-bit compiler has a better C++ EH
>> implementation, then I have to plead ignorance ... I'll have to look
>> into it.
> I found a fairly interesting presentation on exception-handling with
> Visual C++ (it's for 2005 though):
Unless they made VS2008-compiled code link-incompatible with
VS2005-compiled code, it would be hard for them to have changed much
about how this works.
> explains differences between SEH and C++ exception handling, on x86 or
> x86-64, with examples and their generated assembly.
Wow, that's slide set is fantastic. They really go into the details of
the MS implementation.
Note: Their C++ EH for x64 seems to have a few (probably negligible)
overheads, but it's not at all obvious to me why those overheads
should be needed.
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]