3 ms·
I've implemented bindings for ZeroMQ with Tokio in rust (https://github.com/cetra3/tmq https://github.com/cetra3/tmq). I found ZeroMQ great for interop with Py
by cetra3 6y ago
I've implemented bindings for ZeroMQ with Tokio in rust (https://github.com/cetra3/tmq https://github.com/cetra3/tmq). I found ZeroMQ great for interop with Python/Java if you just want some simple cross-process broadcast/task management.
- avinassh 6y ago(noob here) I just looked into the ZeroMQ code and the API seems to be sync and blocking. So, how does one provide async bindings for such code?
- cetra3 6y agoZeroMQ does allow you to register file descriptors on an event queue, which if you dig into the code you'll find tmq using mio to accomplish this.