interprocess communication and sharing memory

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 3 08:30:00 PDT 2015


On Thu, 03 Sep 2015 01:27:14 +0000, j55 wrote:

> I've read many posts about shared memory and interprocess communication
> in D, but I didn't see any conclusive information about whether this
> type of interprocess memory sharing will be convenient or practical in
> D.  If it doesn't work out, I have some prototype already working in c++
> with boost interprocess, but I'd prefer to use a native D solution if
> possible.

I really like ZeroMQ for messaging--it scales transparently from IPC to 
TCP and packages lots of smart topologies for you.  There's a D wrapper 
here: https://github.com/kyllingstad/zmqd

For shared memory, it's pretty easy to do with std.mmfile.


More information about the Digitalmars-d-learn mailing list