All Projects → geocar → qlua

geocar / qlua

Licence: other
KDB bindings for lua

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects
lua
6591 projects
shell
77523 projects
q
29 projects

KDB client for LUA

You can use this to link with nginx+lua/openresty/whatever to get a Q-powered web service that can do more than a few thousand connections per second.

Pre-Flight

Building on OSX

Linking with m64/c.o requires GCC

brew install gcc lua rlwrap

Building on Linux

Default is to build lua using l64/c.o

apt-get install build-essential liblua5.1-dev

but kdb is 32-bit, so to get it working you'll need:

dpkg --add-architecture i386
apt-get update
apt-get install -yy --no-install-recommends ia32-libs gcc rlwrap

Testing

Start up kdb in a window:

rlwrap ~/q/?32/q

and load the server:

\l test.q

Run the lua-side tests in another window:

make test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].