Question

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

Was it helpful?

Solution

Try Zeroc ICE

OTHER TIPS

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.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top