[zeromq-dev] C# Usage

Paulmichael Blasucci pblasucci at gmail.com
Tue Jun 10 21:16:48 CEST 2014


Ah, I see. That makes perfect sense. Also, thanks for the valuable
feedback. It honestly never occurred to me to have C# (or VB) examples. I
shall definitely make plans to add them. Oh, and -- while I think of it --
there _is_ one C# example. But it's buried in the source for fszmq (
https://github.com/zeromq/fszmq/tree/master/tests/fszmq.compat.cs). Anyway,
thanks again.

Happy Coding!

Paulmichael



On Tue, Jun 10, 2014 at 1:59 PM, Chris Hafey <chafey at gmail.com> wrote:

> Hi Paulmichael,
>   My comment about fszmq documentation lacking is based on the C#
> perspective.  I see that "the guide" has great examples of using fszmq for
> F#, but does not have any for C#.  All C# examples appear to be written for
> clrzmq and I assumed they would not work for fszmq.  If that is not the
> case (or fszmq has equivalent C# examples) please let me know!
>
>   Right now I am learning using clrzmq 2.2 because I wasn't sure what to
> use (hence this thread).  Once I get a bit more comfortable with ZeroMQ
> I'll give fszmq a try and let you know if I need any help.  Thanks!
>
> Chris
>
>
> On Tue, Jun 10, 2014 at 11:13 AM, Paulmichael Blasucci <
> pblasucci at gmail.com> wrote:
>
>> Hi Chris,
>>
>> I think you've summed it up rather succinctly. I do have one question,
>> though (more of a favor, really): Can you on where or how the clrzmq
>> documentation is more thorough (or abundant) than for fszmq? I'm not
>> disputing your assessment. I just want to know where and how I can improve
>> as a library author. Also, if you have further questions, this list is a
>> great place to ask.
>>
>> Cheers!
>>
>> Paulmichael
>>
>>
>>
>> On Tue, Jun 10, 2014 at 9:26 AM, Chris Hafey <chafey at gmail.com> wrote:
>>
>>> Hi Pieter,
>>>   Being a C# user brand new to ZeroMQ, it wasn't clear to me how to get
>>> started and I would be happy to help by updating the wiki.  Here is my
>>> understanding of the situation:
>>>
>>> 1) There is no one "official" C#/.NET ZeroMQ library.  ZeroMQ is a
>>> community project and individual communities support and maintain their own
>>> libraries.  The core/mainline zeromq development is done in the c library
>>> and updates cascade down to the other libraries as each library community
>>> implements it.
>>> 2) There are several C#/.NET ZeroMQ libraries to choose from each with
>>> different pros and cons.  All but NetMQ depend on the C zeromq library
>>> which can be a pro or con depending upon your needs.  The con could be the
>>> dependency on a native dll.  The pro could be having the latest / most up
>>> to date functionality and bug fixes.
>>>    - clrzmq 2.2 - Pros: Stable, well documented and officially released.
>>>  Cons: Old version, no longer maintained
>>>    - clrzmq 3.0 - Pros: Stable and well documented.  Cons: Not
>>> officially released, no longer maintained, ZeroMQ mainline no longer
>>> compatible with 3.0??
>>>    - fszmq - Pros: Stable, active community, F# specific features  Cons:
>>> documentation lacking compared to clrzmq
>>>    - NetMQ - Pros: 100% .net implementation, generally works, active
>>> community.  Cons: Still in development and may not be suitable for
>>> production?, documentation lacking compared to clrzmq
>>> 3) For a C# developer brand new to zeromq and trying to learn it, it is
>>> recommended to start with the clrzmq 3.0 prerelease version because it is
>>> well documented and there are many good examples of its use.  Once you get
>>> familiar with ZeroMQ, you should consider switching to fszmq or netmq which
>>> both have active communities behind them.
>>>
>>> I am sure I got some of this wrong so please don't be offended if I
>>> misinterpreted the state of things!  Please reply to this thread with any
>>> corrections and I'll update the wiki.  Thanks
>>>
>>> Chris
>>>
>>>
>>>
>>>
>>> On Tue, Jun 10, 2014 at 7:30 AM, Pieter Hintjens <ph at imatix.com> wrote:
>>>
>>>> Chris,
>>>>
>>>> NetMQ is certainly part of the ZeroMQ community and lives at
>>>> https://github.com/zeromq/netmq, and is actively maintained. I hear
>>>> good things about it though like anything, you'll want to try for
>>>> yourself.
>>>>
>>>> Similarly, fszmq is another "official" community project and may be
>>>> what you want.
>>>>
>>>> The wiki pages are edited by users, so feel free to add/correct any
>>>> information you feel is missing or outdated.
>>>>
>>>> -Pieter
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140610/0799ca6c/attachment.htm>


More information about the zeromq-dev mailing list