This Week in D: Dconf Thursday summaries
Adam D. Ruppe via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Jun 22 05:09:44 PDT 2015
On Monday, 22 June 2015 at 06:01:35 UTC, Laeeth Isharc wrote:
> Do you have any thoughts on automating the generation of IDL
> files?
I didn't need them, the mixin IDispatchImpl bit (example here:
https://github.com/adamdruppe/com/blob/master/example/chello.d )
gave enough that the dynamic languages could call it through that
interface.
With IDispatch, they ask for functions by name string and pass
the arguments, and it needs to forward. With the mixin, it uses
reflection to generate those mappings and use it that way.
More information about the Digitalmars-d-announce
mailing list