[zeromq-dev] Porting libzmq to C++11

BJovke . bjovan at gmail.com
Wed May 17 16:54:28 CEST 2017


Well, you're right. There must be a good reason for such an undertaking.
I too feel that C++11 itself is not good enough reason.
Anyway there has to be enough people willing to contribute to it.

I was just saying this because no idea should be discarded right away, but
for sure there needs to be a valid need and reason for it.

Greetings.

2017-05-17 16:15 GMT+02:00 Doron Somech <somdoron at gmail.com>:

> What will be the benefit from moving to C++11? And more important what is
> the benefit from having two projects? one supporting C++11 and one not?
>
> I think that maintaining two repositories is hard and not sure for what
> cause?
>
> Anyway, if some one want to do it, in the zeromq philosophy, please fork
> and add the project to the zeromq organization.
>
> On Wed, May 17, 2017 at 4:29 PM, <lists at chuckremes.com> wrote:
>
>>
>> > On May 17, 2017, at 7:56 AM, BJovke . <bjovan at gmail.com> wrote:
>> >
>> > 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.
>>
>> This is a good time to bring out some old blog posts. Martin Sustrik was
>> the original developer of libzmq. He had some thoughts on why he should
>> have written the library in C instead of C++. Here you go:
>>
>> http://250bpm.com/blog:4
>>
>> http://250bpm.com/blog:8
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
> _______________________________________________
> 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/a098d676/attachment.htm>


More information about the zeromq-dev mailing list