Re: Serialization of PARI data as a way of IPC

Bill Allombert <[email protected]> Thu, 12 Sep 2024 18:41:31 +0200
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <ZuMZu4y7DnDI6mhg@seventeen>
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.