[zeromq-dev] 0MQ 3.0 - API improvements
Martin Sustrik
sustrik at 250bpm.com
Fri Apr 8 13:10:19 CEST 2011
On 04/08/2011 12:53 PM, Pieter Hintjens wrote:
> Could you be more explanatory please?
There are two parts to the problem.
1. Compile time checking. POSIX doesn't have it (fd is a generic int).
0MQ has none so far. However, if people are enthusiastic about writing
zmq_context_t *ctx = zmq_context (1);
instead of
void *ctx = zmq_context (1);
in such extent that it counterbalances the API bloat, I can add that to
zmq.h
2. Run time checking. POSIX does that. 0MQ does not. We could add that,
especially as it requires no change to API.
It should be noted that the two are not mutually exclusive.
Martin
More information about the zeromq-dev
mailing list