3 ms·
Erlang and Elixir both do not have any way to express a global variable, or even a variable that can be accessed by two different processes (green threads, ligh
by OkayPhysicist 4y ago
Erlang and Elixir both do not have any way to express a global variable, or even a variable that can be accessed by two different processes (green threads, lighter than OS processes). All inter-process communication happens through messages. It's not checked by the language, there is simply no way to express the concept in the language itself.