I made a Go memfd shared memory Capnproto transport https://godoc.org/github.com/justincormack/go-memfd
My primary use case is to experiment with sending messages to privileged processes, so fully sealed memfd without reuse, but you can do what you like with the seals. I have not looked at performance, I havent implemented proper remap support yet, so growing the arena is definitely going to be slow. Justin On Monday, October 19, 2015 at 10:52:09 PM UTC+1, Tim Brandt wrote: > > Has anyone made a shared memory transport? I am working on one and it is > not fitting into my architecture. > > Tim > > On Friday, November 21, 2014 at 7:18:27 PM UTC-6, Andrew Lutomirski wrote: >> >> On Fri, Nov 21, 2014 at 5:14 PM, Kenton Varda <[email protected]> >> wrote: >> > On Fri, Nov 21, 2014 at 5:10 PM, Andrew Lutomirski <[email protected]> >> wrote: >> >> >> >> Blech. We have eventfd for that :) >> > >> > >> > Indeed! Forgot about that. (But is it any faster, or just a nicer >> > interface?) >> > >> >> It's considerably faster than pipes due to (I think) mtime issues. >> It's probably faster than sockets, too, because it won't have to >> allocate memory. >> >> --Andy >> >> > -- >> > 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 [email protected]. >> > Visit this group at http://groups.google.com/group/capnproto. >> > -- 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 [email protected]. Visit this group at https://groups.google.com/group/capnproto.
