Re:Ask HN: What equivalents of Erlang/OTP exist for other la...
by mapcars on Saturday July 18, 2015 @06:18PM
(#9909176)
Preemption. Erlang VM counts each instruction per process and uses it's own scheduler to switch processes, all other implementations of lightweight processes can't do this without implementing their own erlang.
[ Parent
| on HN ]
Re:Ask HN: What equivalents of Erlang/OTP exist for other la...
by MichaelGG on Saturday July 18, 2015 @07:31PM
(#9909400)
So every OS is it's own Erlang?
Re:Ask HN: What equivalents of Erlang/OTP exist for other la...
by mapcars on Sunday July 19, 2015 @03:17PM
(#9912457)
Yes, but "modern" OS'es have heavy processes, in other words they save registers, stack pointers, other process related things and restore them on every process switch.
I'm not sure what makes real difference to Erlang's processes here, I hope someone can explain this with more details.