D hates to be dynamic linked

Rainer Schuetze r.sagitario at gmx.de
Tue Feb 23 23:38:58 PST 2010


I've seen that, too, but have not tried it yet. As Roald has also 
pointed out, there are other things you might want to share between dlls 
(threads, file handles, etc.).

Robert Jacques wrote:
> On Mon, 22 Feb 2010 02:46:31 -0500, Rainer Schuetze <r.sagitario at gmx.de> 
> wrote:
>> 5. To share gc-collected objects between different DLLs, a common 
>> phobos-DLL seems necessary. Extracting the GC into a separate DLL and 
>> using the proxy-mechanism to attach any other client-DLL to it seems 
>> feasable, but are there other things that need to be shared between 
>> different phobos-instances? What about exception-handling?
> 
> druntime (D2) already supports sharing the GC between DLLs.



More information about the Digitalmars-d mailing list