core.runtime: loadLibrary and unloadLibrary?

Walter Bright newshound2 at digitalmars.com
Thu Jan 10 18:20:07 PST 2013


On 1/10/2013 2:42 AM, Jonathan M Davis wrote:
> C shared libraries are fine. It's D shared libraries that are the problem. I
> don't remember the details, but IIRC, among other things, you end up with
> multiple copies of the GC running. The runtime needs a variety of non-trivial
> tweaks to it order to fix those problems before shared D libraries become
> viable.


This was fixed in D1 long ago. DLLs would use the Executable's gc instance.


More information about the Digitalmars-d mailing list