Re: UBF question

[email protected]
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
Didn't know that term_to_binary/binary_to_term and UBF are different things. Thanks for the explanation, appreciate it!


Oct 28, 2021, 21:36 by [email protected]:

> Erlang already has a native serialization format, using the functions
> term_to_binary and binary_to_term; see
> https://erlang.org/doc/apps/erts/erl_ext_dist.html. The UBF library
> was an attempt to make a language-agnostic way to serialize Erlang
> terms. But it's not in any sense "official", other than that it was
> designed by one of the original Erlang authors, Joe Armstrong.
>
> The real questions are these: What are you serializing? For what
> purpose? Over what media (storage/network, e.g.)? For interop with
> which other languages or systems? How much one-way and round-trip
> fidelity to/via those systems do you need?
>
> On Thu, 28 Oct 2021 at 06:55, <[email protected]> wrote:
>
>>
>>
>> I haven't used Erlang, so I suppose my question is very naive. I read that UBF[1] is not maintained. So I am wondering what's used by Erlang as serialization format? Is there a new one that replaces UBF? Or UBF is still used as it, it's just not much change as it's stable?
>>
>> If there are UBF alternative options, what options are available?
>>
>> Many thanks
>>
>> [1]. https://github.com/ubf/ubf
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.