I have a project that consists of two processes, and I need to quickly and efficiently transfer some data between them.
I know that I could use sockets for this using TCP, although both processes will always exist on the same computer, however this is not a very efficient solution.
I see a lot of information about using pipes in Linux. However, I primarily want this for Windows and Linux (preferably through a cross-platform library), ideally in a safe type, a non-blocking way.
Another important thing: I need to support multiple instances of the entire application (i.e. both processes), each with its own independent copy of the communication objects.
Also, is there a cross-platform way to create a new process?
source share