You can do IPC. I did some work on a Go memfd implementation a while
back
https://github.com/justincormack/go-memfd/tree/master/memproto
Whether it is faster depends a lot on circumstances, such as how large
your messages are, and how efficient your shared memory implementation
is. If you are performance constrained, you might want to benchmark
it, but otherwise something else is likely a constraint.
> --
> You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
capnproto+...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/capnproto.