3 ms·
> all isolated from each other with their own stack and heap, That is really a unique property of the BEAM VM. Most languages built on it Erlang, Elixir, LFE,
by rdtsc 12y ago
> all isolated from each other with their own stack and heap,
That is really a unique property of the BEAM VM. Most languages built on it Erlang, Elixir, LFE, Joxa, etc can take advantage of that.
Often when telling someone technical about how you can have processes that behave like OS processes -- fully isolated heap, and if one crashes it doesn't affect the others, and which are also very lightweight -- only a few KB of memory overhead, they think there is some trick or misunderstanding. Like "sure but they are just green threads" or "they can't be just a few KB of memory, processes have to be bigger than that".
Isn't there a saying something to the effect of "an advanced enough technology looks to many as indistiguishable from magic".