Is shared memory stable at the first place?
I prefer this way to inter-process/application communication because that way I don't need the overhead of parsing data.
Is there a good hello world demo on this in c/c++?
Is shared memory stable at the first place?
I prefer this way to inter-process/application communication because that way I don't need the overhead of parsing data.
Is there a good hello world demo on this in c/c++?
You should check out Boost.Interprocess. It provides the functionality you need and the documentation contains instructions on how to use it.
It's as stable as your code.
Note that there's no parsing required with any IPC method that supports binary messages,, such as UDP datagrams, message-mode pipes, or mailslots.
Is shared memory stable at the first place?
Yes.
I prefer this way to inter-process/application communication because that way I don't need the overhead of parsing data.
You may be wrong.
Is there a good hello world demo on this in c/c++?
I that you want something like Managing Memory-Mapped Files.
If you're looking for a simple example, Using Shared Memory in a Dynamic-Link Library from MSDN is probably a good starting point.
There are some issues you need to think of when using shared memory: