Hacker News new | ask | show | jobs
by rumcajz 5230 days ago
"ZeroMQ’s actual C library (libzmq) is just an implementation detail."

That's a spot on. It doesn't really matter whether you are using ZeroMQ, NullMQ or raw HTTP.

It's like OO-programming: You can write OO program in any language.

Same way, you can do distributed messaging on top of any transport layer.

2 comments

Not that it matters much, but ZeroMQ is written in C++, while exposing "C" only interface, and then additionally there is a C++ binding to this "C" interface, which IMHO is very robust design (C for API is much easier to access from other langs).
You are right, however C bindings in other languages usually look quite ugly and non-idiomatic, but ZeroMQ did great job in that sense and their higher level language bindings are written with language specifics in mind
Exactly, I'm very happy that message went through!