Serialization of PARI data as a way of IPC

Ilya Zakharevich <[email protected]> Thu, 12 Sep 2024 07:27:19 -0700
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <[email protected]>
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.

This is very expensive (when PARI uses O(width) code).  However, since
PARI does not support C99’s hex floating point values, there is no
simpler way.¹⁾

   ¹⁾ This is why I do not use stringification in Math::Pari for IPC.

See
     https://en.wikipedia.org/wiki/IEEE_754#Hexadecimal_literals

Yours,
Ilya