ZeroMQ wrapper for D2

simendsjo simendsjo at gmail.com
Sat Oct 22 15:24:04 PDT 2011


I saw someone mention ZeroMQ in a subthread the other day. I watched a 
few videos, and it looks to me like a good fit for D. The philosophies 
matches pretty well: small, clean api, no bloat (only transport, no 
protocols), very flexible setup/usage and message passing for communication.

Someone with experience with D and zmq could probably finish a good 
wrapper in a couple of days.

The D binding on their website is for v2.1 using D1 and tango, so I 
hacked together a wrapper for 3.0.2 with several examples from the 
guide. Hopefully this hack motivates someone to write a complete wrapper.

http://dl.dropbox.com/u/36543537/dzmq.zip

zmq.d = zmq.h translation
dzmq.d = d-ified wrapper
zguide-examples/* = translated examples from the guide.

It's only tested on windows, and the .lib and .dll is included in the 
archive. Shouldn't be much problems running on linux either though, but 
you'll have to download zmq from github.


More information about the Digitalmars-d-learn mailing list