“不要通過共享內存來通信”——深入理解Golang併發模型與CSP理論
Golang 在設計上另闢蹊徑,其併發哲學的核心信條是:“不要通過共享內存來通信,而要通過通信來共享內存。” (Do not communicate by sharing memory; instead, share memory by communicating.) 這一理念源自通信順序進程(Communicating Sequential Processes, CSP)理論。 共享消息模型
Nickname poemyang