[m-dev.] deprecating {read,write}_binary etc

Julien Fischer jfischer at opturion.com
Fri Feb 7 17:13:02 AEDT 2020


On Fri, 7 Feb 2020, Zoltan Somogyi wrote:

>
> 2020-02-07 17:03 GMT+11:00 Julien Fischer<jfischer at opturion.com>:
>> The predicates {read,write}_binary are currently implemented in a manner
>> which is (a) space efficient, (b) portable and (c) works with the non-C
>> backends.  (They currently work by calling io.write with a binary stream.)
>>
>> I propose we mark them as obsolete.  While having a generic mechansim for
>> doing binary serialization of Mercury terms would be nice, what's currently there falls so short of the mark as to be useless.
>
> The second paragraph *so* does not follow from the first. Did you leave out
> a "not" somewhere?

Yes. I meant to say:

     which is *not* (a) space efficient, (b) portable etc etc.

Julien.


More information about the developers mailing list