D shared libraries

Walter Bright newshound1 at digitalmars.com
Sat Apr 12 14:46:41 PDT 2008


Unknown W. Brackets wrote:
> Shared libraries are quite popular.  To be honest, I'm no expert with 
> them or I would try my hand (I actually did a bit, but I really don't 
> have much experience with linking problems.)
> 
> Would you have any suggestions on what one might do to better understand 
> the problems Phobos currently has with supporting shared libraries?  If 
> I understood the problems, I would be happy to work on a solution.


I'd start by examining how DLL support is done for Win32 (i.e. having a 
shared gc and threading system).


> Also, since it's a bit related - what is your opinion on the concept of 
> ddl?
> 
> It (the concept; ddl doesn't work at all for me no matter what I try, 
> and seems overcomplicated in ways) seems like a perfect way to bridge 
> yet another gap between D and other popular dynamic languages like Ruby, 
> Python, Perl, PHP, etc.: ease of importing/using shared code dynamically.

I don't know anything about ddl.



More information about the Digitalmars-d mailing list