[zeromq-dev] Questions about Coding Style

john skaller skaller at users.sourceforge.net
Mon Feb 13 03:19:17 CET 2012


On 13/02/2012, at 12:29 PM, Chuck Remes wrote:

> I think allowing bindings to go directly to the C++ core interface will be problematic for a lot of languages. Many languages interface to libzmq via FFI which, as far as I know, doesn't support C++ in any way, shape or form. These languages would still need to build a binding via the C API.
> 
> Correct me if I'm wrong (which I may be).

I'm sure you're right. If there an API for bindings, we might well
need a C one. And perhaps a C++ one as well.

Of course, a binding can still use the Posix/C API: they do that
now.

BTW: this is a thought experiment at the moment. Having two APIs would
suck in many ways. Double maintenance, quadruple confusion .. :)

--
john skaller
skaller at users.sourceforge.net







More information about the zeromq-dev mailing list