Adding lua-llthreads to LuaDist

63 views
Skip to first unread message

Gruber, Helmut

unread,
Jan 5, 2014, 4:19:12 PM1/5/14
to lua...@googlegroups.com
Hi all,

my name is Helmut Gruber ( GitHub: 1linux ), I am a web- and application developer from Germany.

Currently I am working on a SCADA-Project and I am using Lua as the leading language. Former similar projects were C++, but I try to abandon this language, as I LOVE Lua. And nowadays, as we have ZeroBraneStudio, developing in Lua is real fun.

As I am using ZMQ Messaging System, I followed someones (Thiis Schreier ?) hint to create a runtime environment based on luarocks for Windows.
Now it turns out, that this was not the ideal solution, due to issues with and dependencies on MSVCRT80...

Our company has a MS-developer account, and I could use MSVC - but I decided to avoid M$-technology wherever possible.

Building Lua from scratch with mingw, and all the necessary libraries turned out to be a real tough job, so I was searching for a Lua Distro based on mingw - and found LuaDist.

This is really a great work from you, guys - it worked straight out of the box.

For my project I am using Neopallium´s „lua-llthreads“. 
This library is not yet integrated into LuaDist.

I managed to build it in a compatible way for my project, and it works.

I´d like to contribute to LuaDist (which saved me a lot of time), so

- how can I contribute to LuaDist ?
is help at all desirable for you ?

Happy Holidays & kind regards from Germany,
Helmut Gruber


--
EBCOM IT-Systeme & Consulting GmbH
Pommernstraße 17
D-83395 Freilassing
phone: +49 8654 30957-0
Geschäftsführer: Hans-Peter Enderle & Helmut Gruber
Sitz der Gesellschaft: Freilassing
Handelsregister Traunstein HRB 13650

Peter Drahoš

unread,
Jan 8, 2014, 9:38:45 AM1/8/14
to lua...@googlegroups.com
Hello Helmut,
of course we are looking for module contributors. Generally we accept
patches as pull requests. In case of new modules the best approach is
to create a GitHub repository that clones the original package
yourself and add the required CMake based build files. Once that is
done you can test the package installation locally using:

luadist build [path to local clone]

To create the CMake build system you can look at the wiki[1] for
detailed instructions. CMake experience and knowledge is usually not
required unless the software is overly complex which is mostly not the
case for Lua bindings.

You are welcome to try to submit lua-lthreads yourself, if you get
stuck or need additional help do not hesitate to ask for pointers.

pd

[1] https://github.com/LuaDist/Repository/wiki/LuaDist%3A-Creating-Packages
> --
> You received this message because you are subscribed to the Google Groups
> "LuaDist" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to luadist+u...@googlegroups.com.
> To post to this group, send email to lua...@googlegroups.com.
> Visit this group at http://groups.google.com/group/luadist.
> For more options, visit https://groups.google.com/groups/opt_out.

Peter Drahoš

unread,
Jan 11, 2014, 9:35:05 AM1/11/14
to lua...@googlegroups.com
The lua-llthreads package is now in the Repository.

pd

Thijs Schreijer

unread,
Apr 11, 2014, 3:13:02 PM4/11/14
to lua...@googlegroups.com


Op zondag 5 januari 2014 22:19:12 UTC+1 schreef Gruber, Helmut:
Hi all,

my name is Helmut Gruber ( GitHub: 1linux ), I am a web- and application developer from Germany.

Currently I am working on a SCADA-Project and I am using Lua as the leading language. Former similar projects were C++, but I try to abandon this language, as I LOVE Lua. And nowadays, as we have ZeroBraneStudio, developing in Lua is real fun.

As I am using ZMQ Messaging System, I followed someones (Thiis Schreier ?) hint to create a runtime environment based on luarocks for Windows.
Now it turns out, that this was not the ideal solution, due to issues with and dependencies on MSVCRT80...

Just ran into this message by accident; just curious, what were your issues?

Thijs

hgr...@ebcom.de

unread,
Jun 15, 2014, 2:47:32 PM6/15/14
to lua...@googlegroups.com
Am Freitag, 11. April 2014 21:13:02 UTC+2 schrieb Thijs Schreijer:
> Op zondag 5 januari 2014 22:19:12 UTC+1 schreef Gruber, Helmut:
>
> Hi all,
>
>
> As I am using ZMQ Messaging System, I followed someones (Thiis Schreier ?) hint to create a runtime environment based on luarocks for Windows.
> Now it turns out, that this was not the ideal solution, due to issues with and dependencies on MSVCRT80...
>
>
> Just ran into this message by accident; just curious, what were your issues?
>
>
> Thijs
Sorry for the late answer... so: the issues were unclear exceptions when starting up the zmq libraries. I never managed to resolve that in time, so i reverted completely to LuaRocks. Propably it was my fault when intermixing LuaDist components (liblua.dll), LuaRocks (MSVC 2005) and ZMQ (MSVC 2010 ?) runtimes.
Now as the customer´s project has stabilized, I´ve got the time to take a breath, and I´m looking forward to change the runtime env to LuaDist ( as did ZeroBraneStudio ).
Kind regards,
Helmut

hgr...@ebcom.de

unread,
Jun 15, 2014, 6:25:42 PM6/15/14
to lua...@googlegroups.com
Am Mittwoch, 8. Januar 2014 15:38:45 UTC+1 schrieb Peter Drahoš:
> Hello Helmut,
> ...
> luadist build [path to local clone]
>
Hello Peter,

I think it´s "luadist make [path to local clone]"

And it works great!
Helmut

Thijs Schreijer

unread,
Jun 16, 2014, 11:31:43 AM6/16/14
to lua...@googlegroups.com
Yes, that is common, runtimes don't mix very well. Looking at integrating LuaRocks with LuaDist, is still on my to do list.

Thijs

Peter Drahoš

unread,
Jun 16, 2014, 11:47:21 AM6/16/14
to lua...@googlegroups.com
Help would be welcome on this.
With LuaRocks making the move to manage the rockspec files using
moonrocks repository. I was planning to make a cron-based bot that
will automatically synchronize the moonrocks repository with LuaDist
repository. This requires conversion of "builtin" type rockspec files
into git projects with CMake based build which is straightforward.

I am currently focusing on the LuaCI project is currently nearing its
production release. This is another bot that automatically builds (and
uploads) binaries of each module to the Repository. This significantly
reduces maintenance while also providing us with a module health
dashboard that will be available on luadist.org.

Once both of these are online there will be no need for direct
LuaDist/LuaRocks integration on the source level. Later on I am
considering to add a lua-compat package that will offer versioned lua
wrapping dlls for increased binary compatibility which will make full
integration possible.

pd

hgr...@gmx.net

unread,
Jun 17, 2014, 1:38:11 PM6/17/14
to lua...@googlegroups.com

>
> Help would be welcome on this.
>
> With LuaRocks making the move to manage the rockspec files using
> moonrocks repository. I was planning to make a cron-based bot that
> will automatically synchronize the moonrocks repository with LuaDist
> repository. This requires conversion of "builtin" type rockspec files
> into git projects with CMake based build which is straightforward.
>
>
>
> I am currently focusing on the LuaCI project is currently nearing its
> production release. This is another bot that automatically builds (and
> uploads) binaries of each module to the Repository. This significantly
> reduces maintenance while also providing us with a module health
> dashboard that will be available on luadist.org.
>
> Once both of these are online there will be no need for direct
> LuaDist/LuaRocks integration on the source level. Later on I am
> considering to add a lua-compat package that will offer versioned lua
> wrapping dlls for increased binary compatibility which will make full
> integration possible.
> pd

I could test the beta binaries agains my production lua-scripts if you want. I have quite a few :-)
Just drop me a link.

Helmut

Reply all
Reply to author
Forward
0 new messages