Thread overview
Communication with other languages via wrappers
Aug 21, 2014
seany
Aug 21, 2014
Justin Whear
Sep 03, 2014
Xavier Bigand
Sep 03, 2014
Xavier Bigand
Sep 03, 2014
Jakob Ovrum
August 21, 2014
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?
August 21, 2014
On Thu, 21 Aug 2014 13:20:02 +0000, seany wrote:

> 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?

PyD: https://bitbucket.org/ariovistus/pyd/wiki/Home
September 03, 2014
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).

September 03, 2014
Le 21/08/2014 17:19, Justin Whear a écrit :
> On Thu, 21 Aug 2014 13:20:02 +0000, seany wrote:
>
>> 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?
>
> PyD: https://bitbucket.org/ariovistus/pyd/wiki/Home
>
It seems to be the same as for Lua.

Integrating a language VM in a application can really be seen just like if the language used for the application communicate with the one running in the VM?

September 03, 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.