D equivalent of run-time DLLs / Plugins

jmh530 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 29 14:12:37 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.

Mike Parker's book covers the subject
https://www.packtpub.com/application-development/learning-d

That part of the book closely follows a series he wrote on 
gamedev (there's more than just that post)
http://www.gamedev.net/page/resources/_/technical/game-programming/binding-d-to-c-r3122


More information about the Digitalmars-d-learn mailing list