"Competitive Advantage with D" is one of the keynotes at C++Now 2017

Martin Nowak via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Apr 11 02:36:53 PDT 2017


On 04/11/2017 08:50 AM, FreeSlave wrote:
> D can't compete with C++ until it gets proper dynamic library support on
> all platforms. As far as I understand there're still problems on Windows.

Go fix it ;).

Yes, we still need to make `export` work to replace
`dllimport`/`dllexport`, then we can address the couple of low-level
linking and TLS issues. Benjamin Thaut works on this and has a workable
solution [¹].

Once this is done, DLL support should be on par with OSX/Linux/FreeBSD.

Depending on what you want to do, you can already use D DLL's now, but
atm. each DLL comes with it's own copy of the standard library, so
different DLLs cannot talk to each other (see [²]).

As with any ambitious project, we always want to do more than we have
resources for, so things tend to not move as fast as everybody wants
them to.

-Martin

[¹]: [pending PR
dlang/DIPs#57](https://github.com/MartinNowak/DIPs/blob/fbad186cf9ac8dce335344e64d3b1d880bb750c0/DIPs/archive/DIP45.md)
[²]: [Issue 7020  – Exception thrown across DLL is not
caught.](https://issues.dlang.org/show_bug.cgi?id=7020)



More information about the Digitalmars-d-announce mailing list