cancel
Showing results for 
Search instead for 
Did you mean: 

Q and C++

Alex_Demin
New Contributor
Is there a way to extend Q with C++ code? Ideally, I would like to addGoogle protobuf encoding functionality to my KDB+.As I have found, it is possible to load and run simple "externalized" C++ code from within the Q, but C++ specific things like new operatorand V-Table fail to link properly. It seems the Q executable waslinked by GCC, but the linker still fails to resolve all the symbolsat run time.Does any one have any info on how this can be achieved?
1 REPLY 1

Alex_Demin
New Contributor
Never mind. I just found the way embed full blown C++ into Q processOn Apr 28, 10:25�am, Alex Demin wrote:> Is there a way to extend Q with C++ code? Ideally, I would like to add> Google protobuf encoding functionality to my KDB+.> As I have found, it is possible to load and run simple "externalized" C> ++ code from within the Q, but C++ specific things like new operator> and V-Table fail to link properly. It seems the Q executable was> linked by GCC, but the linker still fails to resolve all the symbols> at run time.>> Does any one have any info on how this can be achieved?