[zeromq-dev] Porting libzmq to C++11
BJovke .
bjovan at gmail.com
Wed May 17 14:56:59 CEST 2017
Hello.
Libzmq is not even fully C++ compliant:
- There's no exception handling.
- There are no RAII principles implemented.
- Parent/child object hierarchy is loose or not implemented, all of the
burden of proper order of calls is on programmer.
And so on...
C++11 is really a remarkable feat of engineering and me personally like to
see fully C++11 implemented software.
Unfortunately, for libzmq this would require substantial rewrite of the
library.
Maybe there's an option to create another parallel branch to existing
libzmq or even create another product, for example "libzmq11"?
On the wire this could be 100% compatible with non-C++11 libzmq but there
would be 0% chance to compile older projects with it.
Greetings.
2017-05-16 21:51 GMT+02:00 Aram Santogidis <aram.santogidis at cern.ch>:
>
>
> On 16.05.2017 21:10, Luca Boccassi wrote:
>
>> On Tue, 2017-05-16 at 20:18 +0200, Aram Santogidis wrote:
>>
>>> Hi,
>>>
>>> what are your thoughts on this?
>>> Are there any backward compatibility support restrictions that would
>>> prevent such an effort?
>>>
>>> Thanks,
>>> Aram
>>>
>>
>> Hi,
>>
>> We have current users and developers on older platforms such as Solaris
>> 10/11, previous versions of AIX, Windows XP and more, so unfortunately
>> we have to keep compatibility with C++98.
>>
>> Kind regards,
>> Luca Boccassi
>>
>>
> Hi Luca,
>
> good to know. Thank you for your answer.
>
> Kind Regards,
>
> Aram
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
Jovan Bunjevački.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170517/aa8c8771/attachment.htm>
More information about the zeromq-dev
mailing list