[zeromq-dev] Canonical language for the Guide

Thomas Rodgers rodgert at twrodgers.com
Tue Apr 7 22:18:05 CEST 2015


+1

libzmq has always been a C library.  The canonical samples should also be
C. If the goal is clarity of intent, examples based on other language
bindings should be able to do at least as well as CZMQ as the benchmark.

On Tuesday, April 7, 2015, Brian Knox <bknox at digitalocean.com> wrote:

> I think that C/CZMQ is a reasonable choice.
>
> I'm intrigued by the idea of being able to generate examples in different
> languages from a DSL - but concerned it might add confusion instead of
> clarity.
>
> Brian
>
>
>
> On Tue, Apr 7, 2015 at 2:35 PM, Gregg Irwin <gregg at pointillistic.com
> <javascript:_e(%7B%7D,'cvml','gregg at pointillistic.com');>> wrote:
>
>> Hi Pieter,
>>
>> PH> What's the best canonical language?
>>
>> PH> My personal preference is C/CZMQ, which is high level and clean.
>>
>> PH> My second choice would be a high level modeling language.
>>
>> +1
>>
>> While my only daily C is the vitamin, I think C is the best choice. As
>> you say, you will never please everyone. Of course, I'm also a huge
>> fan of DSLs and code generators. The issue I see in this context is
>> that the bindings, and 0MQ itself, are moving targets. The upside is
>> that the old generators are still valid even as you create new
>> templates when change comes.
>>
>> If you can keep the DSL/MOP simple enough, it could be a win even if
>> only used for the C examples. The more general it needs to be, the
>> more gratification may be delayed. Do you have thoughts or examples on
>> the language or output side already gestating?
>>
>> -- Gregg
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> <javascript:_e(%7B%7D,'cvml','zeromq-dev at lists.zeromq.org');>
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150407/ae04da9d/attachment.htm>


More information about the zeromq-dev mailing list