UBF question

hamishberridge@REDACTED hamishberridge@REDACTED
Sat Nov 6 16:05:27 CET 2021


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 roger@REDACTED:

> 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, <hamishberridge@REDACTED> 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
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20211106/99fef6fd/attachment-0001.htm>


More information about the erlang-questions mailing list