[zeromq-dev] Introducing Caravan: Simple, Faithful ZMQ-Bindings for Objective Caml (Pedro Borges)
Pedro Borges
pdhb.lists at gmail.com
Mon Apr 4 13:17:01 CEST 2011
On Mon, Apr 4, 2011 at 5:51 AM, Pieter Hintjens <ph at imatix.com> wrote:
> On Mon, Apr 4, 2011 at 4:24 AM, Brian Ledger <bpl29 at cornell.edu> wrote:
> * It's profitable to map libzmq's API closely (including to keep
> zero-copy functionality) but it's also profitable to build
> abstractions on top.
Unfortunately implementing zero-copy in ocaml is impossible, AFAIK,
without blocking every other thread. If another thread makes an
allocation the GC might move the string you are trying to send.
More information about the zeromq-dev
mailing list