4 ms·
> Which, minus the IPC, code/dependency sharing, has similar practical consequences as Erlang/Elixir: no shared heap. In Elixir/Erlang every Erlang process has
by rubiquity 11y ago
> Which, minus the IPC, code/dependency sharing, has similar practical consequences as Erlang/Elixir: no shared heap.
In Elixir/Erlang every Erlang process has its own heap. In the case of Node.js and forking, each forked process has its own heap. You can't fork 100,000 times but you can have 100,000+ Erlang processes all with separate heaps and all in the same process.