3 ms·
+1 for the ABI part. Nothing prevents you in C++ to use multiple ABIs depending on how you plan to build / distribute your library. You can use e.g. `fastcall`
by Galanwe 10y ago
+1 for the ABI part.
Nothing prevents you in C++ to use multiple ABIs depending on how you plan to build / distribute your library. You can use e.g. `fastcall` inside you library, because you know that you will be using the same compiler to build it and don't expose these symbols publicly, and use `cdecl` for the public facing functions.