Simple IPC between C++ and Python (cross platform)

前端 未结 7 1068
梦谈多话
梦谈多话 2020-12-02 07:50

I have a C++ process running in the background that will be generating \'events\' infrequently that a Python process running on the same box will need to pick up.

7条回答
  •  日久生厌
    2020-12-02 08:43

    Google's protobuf is a great library for RPC between programs. It generates bindings for Python and C++.

    If you need a distributed messaging system, you could also use something like RabbitMQ, zeromq, or ActiveMQ. See this question for a discussion on the message queue libraries.

提交回复
热议问题