Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've implemented bindings for ZeroMQ with Tokio in rust (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.


(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?


ZeroMQ 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: