Status of Dynamically Loadable D Libraries

Lee Braiden leebraid at gmail.com
Sat Feb 23 17:53:59 PST 2013


On Mon, 11 Feb 2013 07:25:55 +0100, Maxim Fomin wrote:
> Dynamic linking works in linux (at least observed features work, see
> example
> http://forum.dlang.org/thread/k3vfm9$1tq$1@digitalmars.com?page=2).
> Dynamic loading does not work.
> 
> > [snip]
>
> Yes, couple of days ago Walter announced that shared libraries is
> priority and he will get into this after releasing new dmd version.

I'm not sure what to hope for here.

Does this mean we'll be able to, say, scan a directory, and dynamically 
load D plugins from it, with proper exception handling, threading, etc., 
across the app/library/plugin divide?

And will it work the same way on different platforms, so you can build 
the (right binaries, obviously) for the platform, and load it the same 
way, with the underlying code taking care of the details?


-- 
Lee


More information about the Digitalmars-d mailing list