www.digitalmars.com         C & C++   DMDScript  

D - DLLs and the GC

reply "Matt Green" <matt somewhere.net> writes:
Does each D DLL loaded into a process have its own, private GC (implying a
separate heap)? In C/C++ you could link to the DLL C runtime library to
consolidate the heap. Sometimes it can be beneficial for the process to
share a single, common GC, and I was wondering if support for this was
planned at all.

Matt
Dec 06 2003
parent "Walter" <walter digitalmars.com> writes:
"Matt Green" <matt somewhere.net> wrote in message
news:bqs9uk$1n1i$1 digitaldaemon.com...
 Does each D DLL loaded into a process have its own, private GC (implying a
 separate heap)?
Yes.
 In C/C++ you could link to the DLL C runtime library to
 consolidate the heap. Sometimes it can be beneficial for the process to
 share a single, common GC, and I was wondering if support for this was
 planned at all.

 Matt
Dec 07 2003