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.

5 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.
3 Likes