4 ms·
> I doubt that erlang spawns millions of OS processes because that would be extremely inefficient due to CPU context switching. You are correct, Erlang uses so
by mason55 11y ago
> I doubt that erlang spawns millions of OS processes because that would be extremely inefficient due to CPU context switching.
You are correct, Erlang uses something akin to "green processes" where it manages its own threads but they do not share anything in the way that normal threads would.