Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
August 21, 2014 Communication with other languages via wrappers | ||||
---|---|---|---|---|
| ||||
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 Re: Communication with other languages via wrappers | ||||
---|---|---|---|---|
| ||||
Posted in reply to seany | 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 Re: Communication with other languages via wrappers | ||||
---|---|---|---|---|
| ||||
Posted in reply to seany | 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 Re: Communication with other languages via wrappers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Justin Whear | 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 Re: Communication with other languages via wrappers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Xavier Bigand | 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.
|
Copyright © 1999-2021 by the D Language Foundation