[zeromq-dev] Easy way to send/recv messages?
Martin Lucina
mato at kotelna.sk
Tue Aug 3 16:11:34 CEST 2010
ph at imatix.com said:
> On Tue, Aug 3, 2010 at 11:41 AM, Matt Weinstein
> <matt_weinstein at yahoo.com> wrote:
>
> > It's pretty early in the morning here, but are you just proposing copy
> > wrappers?
>
> Yes, but for maximum benefit these should be the default send/recv
> calls, because that is what people naively expect, and then zerocopy
> can be a more complex API for people with more experience and higher
> demands.
Don't forget that the C API is a low-level base for all the other APIs. The
change you're proposing would only really help C programmers, since e.g. in
Python you can just do
socket.send("Hello")
-mato
More information about the zeromq-dev
mailing list