wrap/unwrap vs Go-style duck typing

David Nadlinger code at klickverbot.at
Sun Oct 27 05:10:46 PDT 2013


On Sunday, 27 October 2013 at 11:49:38 UTC, David Nadlinger wrote:
> If we want to mention shared library support in the release 
> notes, I think we really ought to make clear (with a big red 
> warning) that D doesn't make any guarantees about ABI stability 
> right now.

Also, there is the big unresolved topic of symbol visibility, see 
e.g. http://wiki.dlang.org/DIP45 and the associated discussion.

I'm afraid we will repeat C++'s mistakes here and shoot ourselves 
in the foot big time if we keep symbols visible (i.e. exported 
from shared libraries) by default. The impact of that on (link 
time) optimization opportunities and, for big libraries, load 
times is absolutely non-negligible.

David


More information about the Digitalmars-d mailing list