On Fri, Jan 17, 2014 at 8:49 AM, MinRK <[email protected]> wrote: > > > > I think making sure the low-level pointers are available in such a way > that you can comfortably pass the zmq sockets and contexts in between the > two libraries would be useful, and should be fairly easy. >
pyczmq exposes both zctx_shadow_zmq_ctx to make a czmq context out of a zmq one, and zctx_underlying for the inverse. czmq socket pointers are not wrappers at all, they are the raw socket pointers. So both kinds low level pointers are available and can be passed both directions in pyczmq. If pyzmq had a similar method to construct a Context and Socket from the cdata pointers and also a way to access those pointers, then both libraries could interoperate pretty much perfectly. Maybe that's already the case, I haven't dug deep into the pyzmq cffi backend implementation. -Michel > > >> >> -Michel >> >> >> >>> >>> Greg >>> _______________________________________________ >>> zeromq-dev mailing list >>> [email protected] >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> >> >> >> _______________________________________________ >> zeromq-dev mailing list >> [email protected] >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >> >> > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
