"Andrej Mitrovic" <[email protected]> wrote in message news:[email protected]... > Anyway, interesting times ahead with D and C++. Did they do any work > at all regarding the ABI for C++11? Like define it properly for > interoperability with other languages?
This is not possible to do properly. For 64bit there is one ABI defined, which was based on Intel's Itanium ABI, but it only concerns C++. It is not possible to properly define a C++ ABI that can be used across languages with multiple concepts. The only reason that C suceedes here is because it is usually the OS ABI and as an high level assembler, most languages can easily map C's concepts and they need anyway to make use of the OS APIs. With C++ is a different story, or with any other language that compiles to native code, even D. You would need to think of ways how to expose language specific concepts, or limit what can be made part of the ABI like .Net does with the CLS specification. -- Paulo
