Well, the .NET platform is free, it is recommended .. NET 4.0 supports the System.IO.MemoryMappedFiles namespace classes. Shared memory is a rather sharp mismatch between impedance and the concept of a garbage collector, so it took some time. Unless you use pointers, copying from the GC heap to the MMF view is inevitable.
Other IPC mechanisms also use shared memory, it is simply not explicit, since it is built into the kernel. All this works at about the same speed, a microsecond, to adjust the display, and then only the bus bandwidth to make a copy with memory to memory. Five gigabytes per second are the slowest you will encounter.
Hans passant
source share