On Friday, 14 September 2018 at 09:56:52 UTC, Zot wrote:
On Thursday, 13 September 2018 at 23:30:33 UTC, Jonathan M Davis wrote:
On Thursday, September 13, 2018 4:43:47 PM MDT Manu via Digitalmars-d wrote:
[...]

I'm not disagreeing, but I'm not the person who needs to be convinced. Either way, a DIP needs to be produced which

[...]

As someone who does a lot of c/c++ binding I am 100% in favor of Manu's extern(C++, "ns") I also want to point out that extern should work in mixins (see bug https://issues.dlang.org/show_bug.cgi?id=12575). So probably a good idea to clearify interactions like that in a DIP as well.

- Zot

I'm also completely in favour of what Manu is saying. The current situation works for no one. I very much doubt that any D programmer exists that wants what extern(C++) currently does.

Yes, C++ namespaces are a mess. Who cares? We have modules. All we want is to be able to link.

Walter pointed out workarounds, but: they're solutions to a problem that shouldn't exist; are ugly as sin; aren't even sufficient for manually writing bindings in the way the author intends.

Forum chatter won't do it though, we need a DIP.

Reply via email to