Ideas for runtime loading of shared libraries.
Jacob Carlborg
doob at me.com
Thu Mar 7 23:37:07 PST 2013
On 2013-03-07 22:48, Walter Bright wrote:
> My idea for this is straightforward. A D plugin should use a C
> interface. That means, for example, that a D plugin should NOT pass GC
> allocated references to its caller. Only malloc'd data should pass
> between the plugin and its caller.
If this restriction is needed I think it's very unfortunate. I had
really hoped to be able to have an OO interface.
Objective-C can load plugins with an OO interface an Objective-C can be
used with a GC.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list