[erlang-questions] atom (symbol) interning across distributed instances of runtime

Glenn Kasten gkasten@REDACTED
Tue Feb 6 17:13:30 CET 2018


I'm curious about the implementation of message-passing of atoms (symbols)
among unrelated runtime instances, in particular how the atoms are interned.
I would assume that among a single runtime instance, atoms are passed
as small integers rather than strings, yet that would not work between
unrelated runtime instances
unless the atoms are interned to a consistent value per atoms.
For example, at first connection between runtimes, do the runtimes undergo
an atom negotiation protocol so they can agree on the interned values?
Or something else?

https://en.wikipedia.org/wiki/Symbol_(programming)
https://en.wikipedia.org/wiki/String_interning

Thanks,
Glenn






-- 
Glenn Kasten
Android Media
x35392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180206/c14f40a6/attachment.htm>


More information about the erlang-questions mailing list