[zeromq-dev] Introducing Caravan: Simple, Faithful ZMQ-Bindings for Objective Caml (Pedro Borges)

Martin Sustrik sustrik at 250bpm.com
Mon Apr 4 13:20:02 CEST 2011


On 04/04/2011 01:17 PM, Pedro Borges wrote:

> 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.

That's true of almost all the bindings. One spectacular exception is 
Python binding where they do some kind of black magic to get it working :)

Martin



More information about the zeromq-dev mailing list