[R-sig-hpc] [zeromq-dev] rzmq package

Whit Armstrong armstrong.whit at gmail.com
Thu Sep 29 17:31:20 CEST 2011


+1

I'd like to be able to call serialize/unserialize from c/c++, but
after looking at serialize.c, I'm a little uncomfortable.

So, for now, all my rzmq code just calls lapply(unserialize,ans) on
the results.  no biggie I guess.

-Whit



On Thu, Sep 29, 2011 at 11:02 AM, Michael Spiegel <mspiegel at renci.org> wrote:
> On a related note, I've submitted a patch to the R-devel mailing list that should offer some performance improvements to the serialize/unserialize interface. It reorganizes the code so that vectors are serialized as bulk operations, instead of the current implementation that serializes one element of the vector at a time. I haven't gotten any feedback yet from the R-devel mailing list.
>
> I'm using the serialize/unserialize strategy for an MPI interface. My next step is to try to implement compression into the serialization protocol.
>
> --Michael
>
> -----Original Message-----
> From: r-sig-hpc-bounces at r-project.org [mailto:r-sig-hpc-bounces at r-project.org] On Behalf Of Whit Armstrong
> Sent: Thursday, September 29, 2011 10:56 AM
> To: Ulrich Staudinger
> Cc: r-sig-hpc
> Subject: Re: [R-sig-hpc] [zeromq-dev] rzmq package
>
> The limits are determined by what can be represented by a call to 'serialize.'
>
>
>



More information about the R-sig-hpc mailing list