<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>Didn't know that term_to_binary/binary_to_term and UBF are different things. Thanks for the explanation, appreciate it!<br></div><div><br></div><div><br></div><div>Oct 28, 2021, 21:36 by roger@differentpla.net:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>Erlang already has a native serialization format, using the functions<br></div><div>term_to_binary and binary_to_term; see<br></div><div>https://erlang.org/doc/apps/erts/erl_ext_dist.html. The UBF library<br></div><div>was an attempt to make a language-agnostic way to serialize Erlang<br></div><div>terms. But it's not in any sense "official", other than that it was<br></div><div>designed by one of the original Erlang authors, Joe Armstrong.<br></div><div><br></div><div>The real questions are these: What are you serializing? For what<br></div><div>purpose? Over what media (storage/network, e.g.)? For interop with<br></div><div>which other languages or systems? How much one-way and round-trip<br></div><div>fidelity to/via those systems do you need?<br></div><div><br></div><div>On Thu, 28 Oct 2021 at 06:55, <hamishberridge@tutanota.com> wrote:<br></div><blockquote><div><br></div><div><br></div><div>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?<br></div><div><br></div><div>If there are UBF alternative options, what options are available?<br></div><div><br></div><div>Many thanks<br></div><div><br></div><div>[1]. https://github.com/ubf/ubf<br></div></blockquote></blockquote><div dir="auto"><br></div> </body>
</html>