Re:Zig: Drop MinGW-w64
by olvy0 on Sunday December 19, 2021 @11:21AM
(#29615122)
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.
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.