Communication with other languages via wrappers

Jakob Ovrum via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 3 15:54:05 PDT 2014


On Wednesday, 3 September 2014 at 22:23:48 UTC, Xavier Bigand
wrote:
> Le 21/08/2014 15:20, seany a écrit :
>> I am starting this thread to quench my thirst for knowledge.
>>
>> I notice, that the existing wrappers to other languages are:
>>
>> C                : D can natively interface to C
>> C++              : Some interfacing possible
>> Lua              : There is LuaD and DLua
>> Objective C      : This : 
>> https://michelf.ca/projects/d-objc-bridge/
>>
>> Would someone like to add some more?
>
> As I know LuaD and DLua doesn't allow D to be interfaced with 
> Lua code. LuaD and DLua are wrappers of the Lua library written 
> in C, that not exactly the same thing. So LuaD and DLua help 
> you to make your application extensible throw the Lua scripting 
> language (it replace a plugin system).

Not entirely sure what you're saying here, but it goes both ways.
LuaD also helps you write shared libraries that can be loaded
from a Lua application.


More information about the Digitalmars-d mailing list