ZeroMQ wrapper for D2

simendsjo simendsjo at gmail.com
Sun Oct 23 05:58:00 PDT 2011


On 23.10.2011 14:47, Johannes Pfau wrote:
> simendsjo wrote:
>> 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.
>
> Have you thought about submitting the zmq.d file to deimos?
> https://github.com/D-Programming-Language/deimos
>
> That would probably boost it's publicity in the D community.
>

Not sure how we should handle versioning. This is a translation of the 
unstable 3.0.2. We should also have the stable version there.



More information about the Digitalmars-d-learn mailing list