Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Erlang does not specify how the message passing semantics is achieved, in principle it could be implemented with shared memory. But then it is hard to garbage collect processes independently, take Haskell as an example. It uses shared memory concurrency (STM) and the garbage collector thread has to stop the world to collect. Message passing also allows to transparently distribute the system over several nodes.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: