[zeromq-dev] malamute python2 bindings -- advice needed

Pieter Hintjens ph at imatix.com
Mon Jan 25 22:30:44 CET 2016


FWIW I'm in the process of generating the mlm_client API as a zproject
model so that we can use the zproject binding generator.

On Mon, Jan 25, 2016 at 9:55 PM, Aaron Sokoloski <asokoloski at gmail.com> wrote:
> Hi Michel,
>
> That's very helpful, it sounds like generating cffi bindings with cproject
> is the way to go then.
>
> Thank you,
> Aaron
>
>
> On 25 January 2016 at 14:02, Michel Pelletier <pelletier.michel at gmail.com>
> wrote:
>>
>> On Mon, Jan 25, 2016 at 6:47 AM, Aaron Sokoloski <asokoloski at gmail.com>
>> wrote:
>>>
>>> Hi folks,
>>>
>>>
>>> Maybe the right thing to do is to change zproject to also generate a CFFI
>>> version of the python bindings.  Then the malamute CFFI bindings could
>>> interact with pyczmq easily.  However, this is a bit more work so I wanted
>>> to get people's thoughts first.
>>
>>
>> Hi Aaron, I wrote the pyczmq cffi bindings, and haven't looked at them in
>> some time.  Sorry if they have caused you some confusion.  I always assumed
>> that at some point zproject generation would replace them as hand
>> maintaining the bindings is a pain as evidenced by the fact that I haven't
>> done it :)  So, although I think it's more work, generating the bindings
>> automatically, as you sugguest here, I do think is the right approach.  CFFI
>> is a bit more of a distribution pain than ctypes, but I think provides a
>> nicer model, in the end it probably won't matter much to users which one is
>> used.
>>
>> -Michel
>>
>>>
>>>
>>> Cheers,
>>> Aaron
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list