[zeromq-dev] What C++ bindings to use ?
Pieter Hintjens
ph at imatix.com
Wed May 29 09:36:36 CEST 2013
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 <ivan.pechorin at gmail.com> wrote:
> 2013/5/29 Michael Haberler <mail17 at mah.priv.at>:
>
>> 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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list