D equivalent of run-time DLLs / Plugins

Carsten Blüggel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 29 11:17:36 PST 2016


On Monday, 29 February 2016 at 19:02:27 UTC, Chris Katko wrote:
> Hello. Dlang newbie here.
>
> Does D support run-time loading of D modules?
>
> Basically, I'm looking to create an application with a plugin 
> interface.
>
> I've seen a few posts, but they're dated and it's hard to keep 
> up with "What is the proper way to do X" when things change 
> rapidly. Last thing I want to do is retread ground when someone 
> else already has a more elegant solution.
>
> Also, are there any features to avoid that will cause problems? 
> I don't plan on needing anything too fancy.
>
> Thanks.

Sounds like You are looking for package 
https://code.dlang.org/packages/derelict-util
and adjust to Your needs.


More information about the Digitalmars-d-learn mailing list