www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - derelict_extras-lua

reply "Kelet" <kelethunter gmail.com> writes:
Hello all,

I am new to the D community, although I've been a lurker for
years, and have only recently started embracing the language.

As I understand, Derelict3[1] is migrating to separate bindings
in DerelictOrg[2]. This will help facilitate their use by the DUB
package and build management system which I use and enjoy.
However, some bindings were not carried over from Derelict3 to
DerelictOrg, DerelictLua included.

I'm sure aldacron (Derelict author) already has a lot on his
plate, so I've created a new DUB package in the spirit of p0nce's
existing Derelict "extras", derelict_extras-lua[3][4]. Right now,
it is the same code from Derelict3 with an added DUB package.json
file and README.md. However, I will do my best to keep the
binding up to date and fix any issues which may arise.

I am aware of Jakob Ovrum's most excellent Lua binding and
wrapper[5] and recommend that anyone considering using D with Lua
checks it out.

Let me know if I've misunderstood something or have done
something outside of the nature of the community.

Regards,
Kelet

[1]: https://github.com/aldacron/Derelict3
[2]: https://github.com/DerelictOrg
[3]: http://code.dlang.org/packages/derelict_extras-lua
[4]: https://github.com/Kelet/DerelictLua
[5]: https://github.com/JakobOvrum/LuaD
Dec 01 2013
parent reply "Kelet" <kelethunter gmail.com> writes:
On Monday, 2 December 2013 at 03:32:52 UTC, Kelet wrote:
 Hello all,

 I am new to the D community, although I've been a lurker for
 years, and have only recently started embracing the language.

 As I understand, Derelict3[1] is migrating to separate bindings
 in DerelictOrg[2]. This will help facilitate their use by the 
 DUB
 package and build management system which I use and enjoy.
 However, some bindings were not carried over from Derelict3 to
 DerelictOrg, DerelictLua included.

 I'm sure aldacron (Derelict author) already has a lot on his
 plate, so I've created a new DUB package in the spirit of 
 p0nce's
 existing Derelict "extras", derelict_extras-lua[3][4]. Right 
 now,
 it is the same code from Derelict3 with an added DUB 
 package.json
 file and README.md. However, I will do my best to keep the
 binding up to date and fix any issues which may arise.

 I am aware of Jakob Ovrum's most excellent Lua binding and
 wrapper[5] and recommend that anyone considering using D with 
 Lua
 checks it out.

 Let me know if I've misunderstood something or have done
 something outside of the nature of the community.

 Regards,
 Kelet

 [1]: https://github.com/aldacron/Derelict3
 [2]: https://github.com/DerelictOrg
 [3]: http://code.dlang.org/packages/derelict_extras-lua
 [4]: https://github.com/Kelet/DerelictLua
 [5]: https://github.com/JakobOvrum/LuaD
Hi all, DerelictLua is now part of DerelictOrg, but I am still a maintainer. The old links to the source repository and DUB package are now invalid, however. Please see: https://github.com/DerelictOrg/DerelictLua http://code.dlang.org/packages/derelict-lua Cheers, Kelet
Dec 08 2013
parent reply "qznc" <qznc web.de> writes:
On Sunday, 8 December 2013 at 17:12:06 UTC, Kelet wrote:
 On Monday, 2 December 2013 at 03:32:52 UTC, Kelet wrote:
 I am aware of Jakob Ovrum's most excellent Lua binding and
 wrapper[5] and recommend that anyone considering using D with 
 Lua
 checks it out.
What is the reason you picked Derelict-Lua instead of LuaD for dub-packaging?
Dec 08 2013
parent reply "Kelet" <kelethunter gmail.com> writes:
On Sunday, 8 December 2013 at 22:32:17 UTC, qznc wrote:
 On Sunday, 8 December 2013 at 17:12:06 UTC, Kelet wrote:
 On Monday, 2 December 2013 at 03:32:52 UTC, Kelet wrote:
 I am aware of Jakob Ovrum's most excellent Lua binding and
 wrapper[5] and recommend that anyone considering using D with 
 Lua
 checks it out.
What is the reason you picked Derelict-Lua instead of LuaD for dub-packaging?
Hello, there are a few technical differences which present different advantages and disadvantages depending on their situation: * DerelictLua uses the Lua dynamic library during run time rather than load time, which I prefer. * LuaD targets Lua 5.1, DerelictLua targets Lua 5.2. Some prefer Lua 5.1 because LuaJIT is a drop-in replacement. * LuaD is both a binding and a wrapper. Optimally, this would represent 2 packages instead of one. DerelictLua is more of a direct binding. * I think Jakob will eventually add a DUB package himself and maintain his own project. Ideally, the best path (IMO) is making both the LuaD and DerelictLua bindings support both Lua 5.1 and Lua 5.2. Then having the LuaD wrapper work with the LuaD or DerelictLua bindings (or 'backend'). I've talked to Jakob about this and it could be a possibility in the future. For now, I might spend some time targeting Lua 5.1 in a new DerelictLua branch. From there, I may be able to get Jakob's wrapper to work with it nicely. It seems like the major stopper here.
Dec 08 2013
parent "Kelet" <kelethunter gmail.com> writes:
 * I think Jakob will eventually add a DUB package himself and
 maintain his own project.
For reference, you can see this bug: https://github.com/JakobOvrum/LuaD/issues/59
Dec 08 2013