And this isn’t just a Go problem. Message passing as a concurrency model doesn’t eliminate shared state, it relocates it. The data being communicated may transfer cleanly from sender to receiver, but the communication mechanism itself (channel, mailbox, or message queue) is a shared mutable resource. And that resource inherits every problem shared mutable state has always had.
Что думаешь? Оцени!
,推荐阅读爱思助手下载最新版本获取更多信息
ВсеСледствие и судКриминалПолиция и спецслужбыПреступная Россия
Владимир Жириновский. Фото: Komsomolskaya Pravda / Global Look Press