[zeromq-dev] Non-contiguous message thoughts

Vitaly Mayatskikh v.mayatskih at gmail.com
Fri Mar 5 09:42:16 CET 2010


At Fri, 05 Mar 2010 09:10:19 +0100, Martin Sustrik wrote:

> In general, using zero-copy techniques from garbage collected languages 
> is either impossible (Java?) or problematic (python).

This is possible, if language runtime supports callbacks from foreign
thread (to call language code from C). However, handwritten memory
management wrapper kills performance. Unless you have to deal with
very large messages, it's usually faster just to copy data.
-- 
wbr, Vitaly



More information about the zeromq-dev mailing list