On Sat, Dec 1, 2012 at 3:37 AM, Ulf Magnusson <[email protected]> wrote:
> Hi,
>
> If I've understood things correctly, MinGW-w64 uses the SJLJ
> (longjmp-based) exceptions implementation for both win32 and win64,
> because DW2 (speedy, table-based) can't pass exceptions through
> foreign stack frames (e.g., throwing an exception from within a
> callback and catching it at the point of setting the callback won't
> work). I also believe MinGW uses DW2, because speedy exceptions was
> considered worth the breakage. Two questions:
>
> 1. Other than being broken for passing exceptions through foreign
> stack frames, is there something inherent about win64 that makes DW2
> difficult to implement for it?
>
> 2. How long do you think it'll be before MinGW-w64 has zero-cost
> exceptions on win32/win64? From some discussion in #mingw@freenode it
> sounded like the proper solution would be to implement the same
> zero-cost exception model cl uses (not really familiar with it), but
> it was implied that it might be patent encumbered on win32.

It's called SEH, and it's done for 64-bit.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to