Re: [zeromq-dev] Recommended reading for writing a binding

2017-02-18 Thread Lars Wikman
Thanks, I appreciate the references. I did investigate them at different times.

Chumak does seem to be the most complete, I do not recall exactly if I
had trouble getting it running or if that was the one missing
multipart or something else. I'll probably revisit it as well, see
what it can do for me or if I can just implement what it needs.

On 18 February 2017 at 19:40, Luca Boccassi  wrote:
> On Sat, 2017-02-18 at 19:27 +0100, Lars Wikman wrote:
>> Ah, thanks, I think I bounced off of it in confusion last time I
>> checked, but I'll give another look whenever I can wrench out the
>> time
>> for it. It might not have helped that I was neck-deep in other
>> people's implementation details.
>>
>> Best regards
>> Lars Wikman
>
> Also note that there are a few Erlang/Elixir implementations already:
>
> https://github.com/chovencorp/chumak
> https://github.com/zeromq/exzmq
> https://github.com/zeromq/ezmq
>
> AFAIK the first one is the most complete, and only lacks CURVE support
>
>> On 18 February 2017 at 19:20, Luca Boccassi 
>> wrote:
>> > On Fri, 2017-02-17 at 17:04 +0100, Lars Wikman wrote:
>> > > Hi
>> > >
>> > > I was looking at Elixir bindings for ZeroMQ and found one or two
>> > > that
>> > > do
>> > > not quite work. Diving into the code one seems to implement zmq
>> > > as I
>> > > recognize from working with pyzmq and NetMQ. Another implements
>> > > things I
>> > > can read about in the ZMTP RFC.
>> > >
>> > > What is the sane place to start reading today if attempting to
>> > > write
>> > > a
>> > > native implementation?
>> > >
>> > > Best regards
>> > > Lars Wikman
>> >
>> > For a native implementation I'd say the RFCs should have everything
>> > you
>> > need:
>> >
>> > https://rfc.zeromq.org/spec:23/ZMTP/
>> >
>> > and others on the same website.
>> >
>> > Also libzmtp could be a good reference since it's a minimal C
>> > reference
>> > implementation (not complete, lacks CURVE for example):
>> >
>> > https://github.com/zeromq/libzmtp
>> >
>> > Kind regards,
>> > Luca Boccassi
>> > ___
>> > zeromq-dev mailing list
>> > zeromq-dev@lists.zeromq.org
>> > https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>> ___
>> zeromq-dev mailing list
>> zeromq-dev@lists.zeromq.org
>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Recommended reading for writing a binding

2017-02-18 Thread Luca Boccassi
On Sat, 2017-02-18 at 19:27 +0100, Lars Wikman wrote:
> Ah, thanks, I think I bounced off of it in confusion last time I
> checked, but I'll give another look whenever I can wrench out the
> time
> for it. It might not have helped that I was neck-deep in other
> people's implementation details.
> 
> Best regards
> Lars Wikman

Also note that there are a few Erlang/Elixir implementations already:

https://github.com/chovencorp/chumak
https://github.com/zeromq/exzmq
https://github.com/zeromq/ezmq

AFAIK the first one is the most complete, and only lacks CURVE support

> On 18 February 2017 at 19:20, Luca Boccassi 
> wrote:
> > On Fri, 2017-02-17 at 17:04 +0100, Lars Wikman wrote:
> > > Hi
> > > 
> > > I was looking at Elixir bindings for ZeroMQ and found one or two
> > > that
> > > do
> > > not quite work. Diving into the code one seems to implement zmq
> > > as I
> > > recognize from working with pyzmq and NetMQ. Another implements
> > > things I
> > > can read about in the ZMTP RFC.
> > > 
> > > What is the sane place to start reading today if attempting to
> > > write
> > > a
> > > native implementation?
> > > 
> > > Best regards
> > > Lars Wikman
> > 
> > For a native implementation I'd say the RFCs should have everything
> > you
> > need:
> > 
> > https://rfc.zeromq.org/spec:23/ZMTP/
> > 
> > and others on the same website.
> > 
> > Also libzmtp could be a good reference since it's a minimal C
> > reference
> > implementation (not complete, lacks CURVE for example):
> > 
> > https://github.com/zeromq/libzmtp
> > 
> > Kind regards,
> > Luca Boccassi
> > ___
> > zeromq-dev mailing list
> > zeromq-dev@lists.zeromq.org
> > https://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

signature.asc
Description: This is a digitally signed message part
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Recommended reading for writing a binding

2017-02-18 Thread Lars Wikman
Ah, thanks, I think I bounced off of it in confusion last time I
checked, but I'll give another look whenever I can wrench out the time
for it. It might not have helped that I was neck-deep in other
people's implementation details.

Best regards
Lars Wikman

On 18 February 2017 at 19:20, Luca Boccassi  wrote:
> On Fri, 2017-02-17 at 17:04 +0100, Lars Wikman wrote:
>> Hi
>>
>> I was looking at Elixir bindings for ZeroMQ and found one or two that
>> do
>> not quite work. Diving into the code one seems to implement zmq as I
>> recognize from working with pyzmq and NetMQ. Another implements
>> things I
>> can read about in the ZMTP RFC.
>>
>> What is the sane place to start reading today if attempting to write
>> a
>> native implementation?
>>
>> Best regards
>> Lars Wikman
>
> For a native implementation I'd say the RFCs should have everything you
> need:
>
> https://rfc.zeromq.org/spec:23/ZMTP/
>
> and others on the same website.
>
> Also libzmtp could be a good reference since it's a minimal C reference
> implementation (not complete, lacks CURVE for example):
>
> https://github.com/zeromq/libzmtp
>
> Kind regards,
> Luca Boccassi
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Recommended reading for writing a binding

2017-02-18 Thread Luca Boccassi
On Fri, 2017-02-17 at 17:04 +0100, Lars Wikman wrote:
> Hi
> 
> I was looking at Elixir bindings for ZeroMQ and found one or two that
> do
> not quite work. Diving into the code one seems to implement zmq as I
> recognize from working with pyzmq and NetMQ. Another implements
> things I
> can read about in the ZMTP RFC.
> 
> What is the sane place to start reading today if attempting to write
> a
> native implementation?
> 
> Best regards
> Lars Wikman

For a native implementation I'd say the RFCs should have everything you
need:

https://rfc.zeromq.org/spec:23/ZMTP/

and others on the same website.

Also libzmtp could be a good reference since it's a minimal C reference
implementation (not complete, lacks CURVE for example):

https://github.com/zeromq/libzmtp

Kind regards,
Luca Boccassi

signature.asc
Description: This is a digitally signed message part
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev