www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - ZeroMQ & thrift

reply filgood <filgood somewhere.net> writes:
Hi All,

I was wondering if anyone has created bindings for ZeroMQ? If so, could 
you point me to these?

It seems possible to get thrift (the GSOC project) to run on top of 
ZeroMQ...providing a very interesting packing together....if there is 
time left for the GSOC, it might be worth to explore this?

Thanks, filgood
Jun 28 2011
next sibling parent filgood <filgood somewhere.net> writes:
On 28/06/2011 09:50, filgood wrote:
 Hi All,

 I was wondering if anyone has created bindings for ZeroMQ? If so, could
 you point me to these?

 It seems possible to get thrift (the GSOC project) to run on top of
 ZeroMQ...providing a very interesting packing together....if there is
 time left for the GSOC, it might be worth to explore this?
I ment if there is time left after thrift is implemented (I have no clue how far this GSOC project got so far)....
 Thanks, filgood
Jun 28 2011
prev sibling parent reply David Nadlinger <see klickverbot.at> writes:
Hi filgood,

there seem to be some D bindings at the official size 
(http://www.zeromq.org/bindings:d, 
https://github.com/itiu/zeromq-connector), but as I haven't really used 
0mq so far, I can't judge in which state they are.

I currently don't have 0mq on my agenda for the GSoC project, but the 
basic functionality should be more or less trivial to implement 
yourself, see the contrib/zeromq directory in the Thrift source tree for 
examples. Be aware, however, that there is, to some extent, an impedance 
mismatch between Thrift and 0mq, as the latter is message-based, while 
Thrift generally assumes its transports to behave like streams. Due to 
this, there are some things which must be taken care of manually, like 
calling one-way RPC methods only on »one-way« (or however they are 
really called) 0mq connections.

Oh, and as for the state of the Thrift project, I regularly publish 
status updates at http://klickverbot.at/ (will post one for the last 
week later today, I was somehow thrown off the plan by getting a brain 
concussion from bumping against a door lintel – yeah, I didn't know that 
was possible either).

David


On 6/28/11 10:50 AM, filgood wrote:
 Hi All,

 I was wondering if anyone has created bindings for ZeroMQ? If so, could
 you point me to these?

 It seems possible to get thrift (the GSOC project) to run on top of
 ZeroMQ...providing a very interesting packing together....if there is
 time left for the GSOC, it might be worth to explore this?

 Thanks, filgood
Jun 28 2011
parent "Lars T. Kyllingstad" <public kyllingen.NOSPAMnet> writes:
On Tue, 28 Jun 2011 12:14:20 +0200, David Nadlinger wrote:

 Oh, and as for the state of the Thrift project, I regularly publish
 status updates at http://klickverbot.at/
Nice web site! I really like the design, it's very clean and elegant. From your 14 June post:
 I have also started to work the dreaded DMD bug 314.
Whoa. -Lars
Jun 29 2011