3 ms·
Go didn’t really go all in on CSP. It provides primitives for shared memory concurrency as well, in addition to message passing. And if you have messages that a
by sriram_malhar 4y ago
Go didn’t really go all in on CSP. It provides primitives for shared memory concurrency as well, in addition to message passing. And if you have messages that are not fully immutable, the producer and consumer have to use mutexes to avoid inconsistency. No different from Loom.
What it does better than Loom is that all system APIs are savvy about goroutine yielding