Dynamic Libaries in D

Lars Ivar Igesund larsivar at igesund.net
Sun Oct 12 10:22:00 PDT 2008

BLS wrote:

> Lars Ivar Igesund schrieb:
>> Tim M wrote:
>>> Can someone help me with dynamic libraries in d. I've seen this
>>> http://www.digitalmars.com/d/2.0/dll.html as an example of windows dll
>>> and a similar example of using tango here
>>> http://dsource.org/projects/tango/wiki/TutDLL but both say multiple
>>> threads not supported. How can I make a dll in d that supports multi
>>> threads.
>>> I would also like to make linux modules so how can I do the
>>> initialization and finalization for those or can the compiler do it for
>>> me without coding it?
>> Unless you really need DLL's, and not only dynamic libraries - look into
>> DDL.
>> http://www.dsource.org/projects/ddl
> I can't agree with Lars "Snowman" Igesund. DDL is not ready for
> production use. (Especially related to ix based systems)

He was clearly talking about Windows dll's, and they will _never_ be
production ready in D, whereas DDL is. In this particular case, it seems
that *nix performance is irrelevant.

Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango

More information about the Digitalmars-d-learn mailing list