compatibility of c++ and d on the level of llvm bytecode
David Nadlinger via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon May 16 06:27:42 PDT 2016
On 16 May 2016, at 14:20, egordeev via digitalmars-d-ldc wrote:
> can we achive compatibility of c++ programs with d programms, i.e. can
> we use c++ functions, classes, etc. in d programs relying on
> compatibility of bytecodes, generated by Clang and LDC, and not on the
> level of ABI?
Clang and LDC will almost certainly differ in the format of the byte
code they emit. However, it should always be possible to just bitcast
the values (data, function pointers) appropriately to make them
compatible.
— David
More information about the digitalmars-d-ldc
mailing list