lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wednesday 10, Josh Simmons wrote:
> On Thu, Aug 11, 2011 at 10:07 AM, Robert G. Jakabosky
> 
> <bobby@sharedrealm.com> wrote:
> > On Wednesday 10, liam mail wrote:
> >> On 10 August 2011 12:44, Natanael Copa <natanael.copa@gmail.com> wrote:
> >> > On Wed, Aug 10, 2011 at 11:10 AM, Robert G. Jakabosky
> >> > 
> >> > <bobby@sharedrealm.com> wrote:
> >> > > Announcing lua-zmq & lua-zmq-threads release 1.1
> >> > > 
> >> > > This release fixes some minor bugs, improves support for Windows,
> >> > > and
> >> > 
> >> > adds
> >> > 
> >> > > bindings to ZeroMQ's stopwatch interface (a high resolution timer).
> >> > > 
> >> > > lua-zmq [1] provide complete Lua bindings of the ZeroMQ [2].  ZeroMQ
> >> > > is a light-weight but very powerful messaging library.  With it you
> >> > > can scale
> >> > 
> >> > your
> >> > 
> >> > > application from multiple-threads to a cluster of servers.  ZeroMQ
> >> > 
> >> > provides
> >> > 
> >> > > more then just point-to-point messaging, you can do
> >> > > Publish/Subscribe, Request/Response (with load balancing), or
> >> > > one-way Push/Pull (also with
> >> > 
> >> > load
> >> > 
> >> > > balancing).  See the ZeroMQ guide [3] which has a lot of Lua
> >> > > examples.
> >> > > 
> >> > > lua-zmq-threads is a sub-module of lua-zmq that wrap lua-llthreads
> >> > > [4] to provide Lua with an easy way to start multiple threads that
> >> > > share the
> >> > 
> >> > same
> >> > 
> >> > > ZeroMQ context (this allows the threads to use the low-latency
> >> > 
> >> > "inproc://"
> >> > 
> >> > > transport for messages).
> >> > > 
> >> > > Rockspecs:
> >> > > https://github.com/Neopallium/lua-zmq/raw/master/rockspecs/lua-
> >> > > zmq-1.1-1.rockspec
> >> > > https://github.com/Neopallium/lua-zmq/raw/master/rockspecs/lua-zmq-
> >> > > threads-1.1-1.rockspec
> >> > 
> >> > Would it be possible to put official traditional tarballs some place
> >> > for make it easier for distro packagers? Its kinda inconvenient with
> >> > git snaptshots when you have to maintain stable distro releases.
> >> > 
> >> > --
> >> > Natanael Copa
> >> 
> >> Git allows tagging which this project has used therefore I would think
> >> [1] is the correct download link for version 1.1, although saying that
> >> a redirect from something like
> >> www.someurl.com/lua-someproject-latest-stablewould be a good idea.
> >> 
> >> [1] https://github.com/Neopallium/lua-llthreads/zipball/v1.1
> > 
> > Here are the tarball links (tar.gz format):
> > https://github.com/Neopallium/lua-llthreads/tarball/v1.1
> > https://github.com/Neopallium/lua-zmq/tarball/v1.1
> > 
> > or in zip format:
> > https://github.com/Neopallium/lua-llthreads/zipball/v1.1
> > https://github.com/Neopallium/lua-zmq/zipball/v1.1
> > 
> > If these links don't work for distro releases let me know.
> > 
> > --
> > Robert G. Jakabosky
> 
> On a side note it'd be nice if the auto generated tarballs would play
> nice with luarocks so I don't have to mess around creating zips
> specifically tailored to luarocks' rather inconvenient folder
> structure.

Why do you need to create tarballs for luarocks?

> On topic though, are there any breaking changes in the new lua-zmq
> that I should know about?

The only change that might cause a problem is how errors are return.  In the 
1.0 release errors where return as (false, "Error message"), now they are 
return as (nil, "Error message") to conform better to how errors are normally 
return from other modules.  This change was requested by a user and it 
shouldn't effect how must code handles errors.

-- 
Robert G. Jakabosky