[zeromq-dev] What C++ bindings to use ?

Michael Haberler mail17 at mah.priv.at
Wed May 29 10:32:48 CEST 2013


Am 29.05.2013 um 09:36 schrieb Pieter Hintjens <ph at imatix.com>:

> 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

jeesh, It's ToolTime Again! - I was hoping to just _use_ this, read the manual, peruse APIs and be done with it - just being Joe User ;)

no offense - I wildly appreciate what is at hand; great job, thank you all!

- Michael

> 
> -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
> _______________________________________________
> 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