What would be the best way to use a Redis DB within a C++ program?
+3
A:
Using a C bindings library? There doesn't seem to be a C++ wrapper available anywhere.
Kornel Kisielewicz
2010-02-02 02:21:47
A caveat is that the project page says it's alpha, and not all commands are supported.
Matthew Flaschen
2010-02-02 03:01:48
Well, it's open source, so you can always contribute :)
LiraNuna
2010-02-08 20:26:39
+1
A:
http://github.com/fictorial/redis-cplusplus-client
This C++ client library is not maintained however as few people actually use C++ to communicate with Redis.
z8000
2010-02-08 20:24:34
+2
A:
I have forked the fictorial redis-cplusplus-client, made it compatible to redis-server v2.0, added missing api calls and implemented consistent hashing. There is also an early state of high level classes that will be useable like stl types in the near future (shared_string, shared_int, shared_set, ...). Nothing is production ready yet but the provided tests are succesfully running :-)
Ludger Sprenker
2010-09-14 12:31:23