[zeromq-dev] I've written a completely new C# API for ZeroMQ

Martin Sustrik sustrik at 250bpm.com
Tue Dec 21 19:14:01 CET 2010


On 12/21/2010 07:07 PM, Alex Forster wrote:

>> I am not familiar with CLR. Doesn't the problem the context is
>> solving (i.e. zeromq being used from two libraries that are later
>> on linked into a single application and step on each other toes)
>> occur with .NET as well?
>
> That is a very good question that I don't know if I can answer. I
> figured the problem it was solving essentially boiled down to "no
> global variables". Where is there an opportunity for undesirable
> interaction?

For example, the names of inproc endpoints are stored in the context. If 
library A uses inproc endpoint named X and library B accidentally uses 
endpoint X as well, they start messining with each other.

>> A side issue: Wouldn't it make sense for you clrzmq, clrzmq2, NZMQ
>> and Interop guys to at least start working on integration of all
>> the projects? I mean, writing the code is easy, maintaining it and
>> fixing the bugs is hard. If the projects are integrated into a
>> single one you could support four time more features, fix four time
>> more bug, make the whole binding four times more stable. Aside of
>> that, having a community is much more fun than working alone :)
>
> I'd be up for it. How active is clrzmq2? NZMQ seems to have stalled
> 3-4 months ago.

I don't know. Try pinging the authors...

Martin



More information about the zeromq-dev mailing list