Possibly unpopular opinion: shared-memory IPC is not only faster than sockets, pipes, and messages, it is also easier to do correctly!
Possibly unpopular opinion: shared-memory IPC is not only faster than sockets, pipes, and messages, it is also easier to do correctly!
I can't speak to popularity, but that statement gives me stress.
What's stressful about it?
Shared-memory IPC is probably the one I'm most likely to mess up.
All you need is a mutex or a semaphore in the shared region!