There is a C ++ program and a python script. Python interacts with the user (all gui in the script, in Russian speaking). C ++ receives data and stores in memory, sometimes saving unused on disk.

What do you advise?

  • 2
    > What do you advise? Is it a pipe again? - mega
  • If possible, the kosher thing here is to rewrite the program as a binary module for python. - skegg

1 answer 1

To solve this problem, there are several solutions (google interprocessor interaction), if this case works on linux the simplest (I think) to use the Unix Domain Socket. Almost the same socket is only local in nature. This approach is used in many places, for example in PostgreSQL.