On Wednesday, 20 May 2020 at 23:28:09 UTC, kinke wrote:

The ABI for MinGW targets in general. - Judging by https://forum.dlang.org/post/anfwqjjsteeyelbdh...@forum.dlang.org, you apparently use a very different definition of 'ABI'. See http://uclibc.org/docs/psABI-x86_64.pdf or https://docs.microsoft.com/en-us/cpp/build/x64-software-conventions?view=vs-2019 for what an ABI is.

I guess what you meant is the druntime API implicitly used by the compiler (mostly, the _d_* hooks like _d_assert, _d_newclass etc.). That's well-defined already, e.g., see https://github.com/ldc-developers/ldc/blob/master/gen/runtime.cpp.

That's what I was thinking about, the ABI of x86-64 which originates from the ones that designed the ISA. The word ABI is used or misused in other areas as well, for example libc++abi which is a compatibility layer for libc++, that's why the word ABI turns up in a discussion about the druntime abstract interface.

Reply via email to