Which rpc/messaging framework would best fit this case?
问题 Use case : one Java process with one or two C++ processes, always on the same machine. Bidirectional, binary, non-persistent communication is required. One of the C++ process is responsible for instantiating the other processes. I have given a look around, seeing things like XML/JSON-RPC, Protocol Buffers, Thrift, zeromq, etc. If possible, portability would be nice, but Windows XP/7 is required. 回答1: In general you should separate message transport and message de-/serialization in your design