UBF question
Ulf Wiger
ulf@REDACTED
Sat Nov 6 17:01:33 CET 2021
UBF consists of two parts: UBF(a), which describes the daya types, and
UBF(b), which describes the interaction part.
https://ubf.github.io/ubf/ubf-user-guide.en.html#specifications
BR,
Ulf W
Den lör 6 nov. 2021 16:14 <hamishberridge@REDACTED> skrev:
> Does the role of contract checker act something like validator? If so,
> does that imply binary_to_term/ term_to_binary does not use that because
> the communication happens within Erlang environment? I could totally go
> wrong as I am not familiar with it; but I am curious, because I learned a
> lot of concepts from Erlang and from reading Joe Armstrong's thesis, even
> though I never wrote any Erlang code at all. Really appreciate those
> writings. That helps me a lot in learning system design, and many other
> parts in programming as well.
>
> Oct 28, 2021, 21:51 by ulf@REDACTED:
>
>
> The key feature of UBF was that beyond being a serialization format, it
> was also a contract checker.
> That was a very nice feature. If you'd like to do something like that
> today, perhaps you'd go for JSON or MessagePack encoding, JSON-Schema and
> Jesse.
>
> Needless to say, Joe's solution was far more elegant. It was also far less
> supported, even when he was alive. Joe was always searching for the next
> interesting challenge, and as memory serves, he parked UBF thinking that he
> wasn't 100% satisfied with it. It didn't bother him to park something for a
> decade while trying to address that final wrinkle.
>
> BR,
> Ulf W
>
> [image: Vereign Seal]
> <https://gmail.app.vereign.com/#CiAzy_GB8f6QvveZ4EbTaXoDdsWTb_ETB6W49Cwj1RyD1xIggbHUSgcbmAeIDsfNGcBv5GttvylTY3bzBmlLx8UQ6AA=>
>
> On Thu, Oct 28, 2021 at 7:45 AM <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/64e29910/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seal-image-2b121f83eea49a7b1f47514a026bd644601f52a0f203394da1d6a9ca74505d2f
Type: image/png
Size: 37239 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20211106/64e29910/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seal-image-2b121f83eea49a7b1f47514a026bd644601f52a0f203394da1d6a9ca74505d2f
Type: image/png
Size: 37239 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20211106/64e29910/attachment-0001.png>
More information about the erlang-questions
mailing list