3 ms·
Except channels. If you use channels it's non-obvious gotchas galore.
by solipsism 8y ago
Except channels. If you use channels it's non-obvious gotchas galore.
- stcredzero 8y agoConcurrency is hard. Channels make it somewhat easier. Basically, see if you can do concurrency with only synchronous code.
- solipsism 8y agoConcurrency is hard and channels make it somewhat easier. Agreed. That's not relevant to the fact that the use of channels in Go is full of gotchas.
- stcredzero 8y agoThat's relevant to the fact that concurrency is full of gotchas. I also used Go to write an MMO all by myself. I think channels are great!
- eudoxus 8y agoI think his point was that concurrency is riddled with gotchas regardless, and channels reduce them, but not remove them.
- stcredzero 8y agoPeople completely misread my comment about doing concurrency with only synchronous code. Basically, channels let you do concurrency with only synchronous code as in Node JS, but without using callbacks.
- deleted 8y ago[deleted]