Bill Allombert on Thu, 12 Sep 2024 18:41:38 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Serialization of PARI data as a way of IPC


On Thu, Sep 12, 2024 at 07:27:19AM -0700, Ilya Zakharevich wrote:
> My impression is that when PARI is used as a library inside larger
> heterogeneous-aggregation projects, they use
> stringization/destringization of PARI data as a way of inter-library
> communication.  This goes through binary↔decimal conversion.

PARI itself uses binary serialization for MPI, using the bin_copy/copy_bin
mechanism.

The same system could be used for other IPC as long as they can pass
arbitrary data stream.

Cheers,
Bill.