Status of Dynamically Loadable D Libraries

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Feb 23 23:56:42 PST 2013


On 2/24/13 3:53 AM, Lee Braiden wrote:
> 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?

That's about right.

> 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?

Linux first.


Andrei



More information about the Digitalmars-d mailing list