Serialize C++ object to send via sockets to Python - best approach?

后端 未结 2 1423
有刺的猬
有刺的猬 2021-02-04 19:56

I need to create a network communication between two different frameworks, one written in C++ and the other in Python.

To exchange data, I want

2条回答
  •  长情又很酷
    2021-02-04 20:41

    Protocol Buffers' successor, Cap'n Proto, also has good support for C++ and Python. (Disclosure: I am the author of Cap'n Proto, and also was the author of most of the Protobuf code released by Google.)

提交回复
热议问题