Zimq: A binding for ZeroMQ

I’ve created a binding for ZeroMQ at GitHub - uyha/zimq.

It still does not have all the features that ZeroMQ provides (Websocket, encryption, etc.) due to some build issue, and it only works on Linux for now. However, it does already cover all the basic functionality of ZeroMQ.

7 Likes

Nice! A was looking at zzmq a while ago, but it lacked some features I needed, so I will have a closer look at this! Did you have a look at zzmq? If so, is there something in which zimq differs to zzmq?

edit: it seems zzmq is not maintained anymore.

Thanks! This will be a great reference for my work on writing bindings for zenoh!

Yes, I did have a look at zzmq, and the major differences are:

  • zzmq relies on prebuilt ZeroMQ, while my library builds the zmq library in its build script.
  • zzmq covers very little of API surface, mine covers much more.
  • zzmq accepts a dubious allocator parameter while not actually uses it, mine does not do that since I cannot actually control the memory allocation when acting as a binding library.
  • zzmq does not map the functions very closely to ZeroMQ functions, mine maps nearly 1-to-1.
4 Likes

I’d like a server and customers, are you going ahead with your project?

I’m not sure what you mean, do you mean the server and client pattern in ZeroMQ?

Yes, have a client-server model.

I just added them to the socket types.

1 Like

Thanks, I’ve come to bother you again, please do an example with sockets

There’s already an example in the README, what do you need?