29 ms·
As someone who has to deal from time to time with code that is a mix of old COM components and newer mingw dependencies I found this discussion fascinating. I
by olvy0 5y ago
As someone who has to deal from time to time with code that is a mix of old COM components and newer mingw dependencies I found this discussion fascinating.
I learned to avoid most issues by wrapping everything at the boundaries with a pure C api/abi, and not letting exceptions propagate at all, instead catching them and returning an error code.
I wonder why zig can't do the same but I guess they want calls to directx etc to match what's documented instead of going through c like contortions.