1
votes

Looking at Thrift and Google Protocol Buffers to implement some quick RPC code. Thrift would be perfect if the generated C++ code compiled on windows (which is what I need). And of course, GPB creates RPC stubs, but no implementation.

Is there a way to get Thrift Windows friendly? Or, even better, are there any RPC implementations available freely for generated C++ protobuf stubs (a Java counterpart would be nice too, but is not necessary).

Thanks

3
Have you looked at apache avro (hadoop.apache.org/avro)? - Schildmeijer

3 Answers

0
votes

Is there a way to get Thrift Windows friendly?

According to this page on the Thrift wiki, it is not possible.

The following instructions are for making the thrift compiler only. The Thrift C++ runtime library does not currently work on Windows. This means that you'll be able to compile ThriftIDL files to C++/Java/Python/etc., but you won't be able to compile and run the generated C++ code under Windows.

0
votes

You can installing thrift following this "guide". Look also at my solution at the bottom, to let it works on windows.