|
|
|
|
|
by pjmlp
3274 days ago
|
|
As arjo129 says, there is nothing preventing you from using hiredis, provided they don't make use of the few cases where C language features and C++ are no longer compatible, e.g. VLAs or structure initializers. However, given it is a C API you will get the usual C unsafe code, instead of C++'s improvements regarding type safety. |
|
Wouldn't one compile hiredis in C, their app in C++, and link the two together?
In general compiling C code with a C++ compiler isn't the path of least resistance.