If I was working in C++ I'd build a proper high-level binding in C++.

There are a set of abstractions that are really useful and which
several bindings have implemented. See
http://www.zeromq.org/topics:binding-abstractions

-Pieter

On Wed, May 29, 2013 at 9:03 AM, Ivan Pechorin <[email protected]> wrote:
> 2013/5/29 Michael Haberler <[email protected]>:
>
>> that leaves me guessing which zmq api I should use assuming I switch to C++ 
>> for that application: using the CZMQ C API in a C++ program, which calls 
>> upon the C++ binding indirected through the C layer strikes me as a bit 
>> awkward; or using the C++ binding directly regardless it being 'low level'
>
> Regarding the last option: IMHO the basic C++ binding (zmq.hpp from
> https://github.com/zeromq/cppzmq) doesn't add anything useful to the
> standard C zmq API (zmq.h). So, I prefer to use the standard zmq API
> in my C++ programs.
>
> But in your case, given that you already have an application built
> with CZMQ, I don't see any reason to switch to any of the low-level
> APIs. You should be able to use CZMQ in a C++ program.
> _______________________________________________
> 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

Reply via email to