D has better way to bind to C++ than to D.

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Feb 23 05:44:18 UTC 2023


That works except now the name can conflict with other C libraries ext.
So you either make the name less desirable to use or add mangling extra.
Not great solutions.

I'm gonna add this to my list of things I need to consider for the 
export DIP, since its redesigning how symbols work, the main question I 
have right now is how generic this needs to be.

Not that I exactly agree that you should run into this particular issue.


More information about the Digitalmars-d mailing list