On Saturday 26, Martin Sustrik wrote: > Hi Robert, > > >> Feel free to update http://www.zeromq.org/bindings:lua. > > > > done. > > As far as I understand you have overwritten the original Lua binding. > Given that the new binding doesn't work with all Lua VMs it's definitely > not a good idea.
The new bindings do work on all Lua VMs that support that standard Lua C API. When loaded a Lua VM other then LuaJIT2 (i.e. using Lua 5.1.x or LuaJIT 1.2.x) it will fallback to using the standard Lua C API (just like the old bindings). There isn't even any linking issues since the C code of the new bindings uses only the standard Lua C API (The FFI bindings are pure Lua code). > I would suggest either keeping both bindings on the page or creating a > separate page, say 'lua-ffi'. I had though about creating a new page like that, but the new bindings do not require FFI support so I don't want people thinking that they only work with FFI. I can create a new bindings page if you want. Not sure how best to structure a page with both the old and new bindings on one page. For now I will just move my bindings over to 'lua-ffi'. > Martin > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev -- Robert G. Jakabosky _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
