2 ms·
Speaking of Lua - I wrote an alternative Redis library for Lua, Sidereal (http://github.com/silentbicycle/sidereal http://github.com/silentbicycle/sidereal). I
by silentbicycle 17y ago
Speaking of Lua - I wrote an alternative Redis library for Lua, Sidereal (http://github.com/silentbicycle/sidereal http://github.com/silentbicycle/sidereal). I haven't posted it to the Redis list yet because it's still a bit young* , but the big feature is that it supports non-blocking operation via an arbitrary defer hook and async socket IO, for easy non-blocking / event-driven operation. (I have a project quite similar to node.js in the works, and Redis and non-blocking socket IO fit great with Lua's coroutines.)
* Most notably, the code to auto-reconnect while pipelining needs work, and I just finished moving, so it probably won't get touched for a week or two.
It has a translation of the entire official test suite into Lua (which was an ... interesting ... way to learn Tcl :) ), plus some other extensions for idiomatic handling of sets, lists, and zsets in Lua. (They're translated to tables with {key=true} for sets, {key=score} for zsets, and {key1, key2, key3, ...} for lists.) Also, the other Lua Redis library feels a bit more Ruby-ish to me.
I never got into Tcl, but that or Lua seem like the clear frontrunners as embedded config/scripting languages go. I'd prefer Lua, but it's your project, and I trust your taste.