3 ms·
Why use a pipe to communicate instead of shared memory?
by jesprenj 2y ago
Why use a pipe to communicate instead of shared memory?
- im3w1l 2y agoIt's much easier to reason about a child process sending you possibly corrupt objects over a pipe, compared to a child process possibly corrupting shared memory as you are reading it. I've read enough about processor level memory barriers to understand I don't really understand that at all.