How does shared memory vs message passing handle large data structures?

后端 未结 10 1296
南方客
南方客 2020-12-22 19:13

In looking at Go and Erlang\'s approach to concurrency, I noticed that they both rely on message passing.

This approach obviously alleviates the need for complex loc

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-22 19:46

    The other concurrent paradigm is STM, software transactional memory. Clojure's ref's are getting a lot of attention. Tim Bray has a good series exploring erlang and clojure's concurrent mechanisms

    http://www.tbray.org/ongoing/When/200x/2009/09/27/Concur-dot-next

    http://www.tbray.org/ongoing/When/200x/2009/12/01/Clojure-Theses

提交回复
热议问题