advanced-go-programming-book icon indicating copy to clipboard operation
advanced-go-programming-book copied to clipboard

Erlang 是CSP模型还是Actor模型?

Open DavidLiuXh opened this issue 4 years ago • 1 comments

第一章:"业界比较熟悉的Erlang编程语言的并发编程模型也是CSP理论的另一种实现。”

Erlang 是CSP模型还是Actor模型?

DavidLiuXh avatar May 02 '20 08:05 DavidLiuXh

CSP的核心点是消息通信,至于通讯的双方是什么并无具体的要求。具体到二郎神,通信的主体是Actor,而奔涌的够浪是Goroutine。Gopher也可以说自己是Goroutine模型,而不是CSP模型。就看你愿意相信谁了,你懂的

chai2010 avatar May 08 '20 22:05 chai2010