7 ms·
> Go's principle concurrency primitive, channels, is actually very slow as per its implementation and is often avoided because of it. I've only heard the oppos
by golergka 10y ago
> Go's principle concurrency primitive, channels, is actually very slow as per its implementation and is often avoided because of it.
I've only heard the opposite about it (only used Go on hobby project, so no first-hand knowledge). Can you please elaborate or give some links that discuss it?
> Go's developer mantra is at least as patronizing as Python's. Probably more so.
Are you referring to limiting developer's freedom?
- holydude 10y agoWell channels use mutexes underneath and they are "slow". So slow in this case is very relative.
- KirinDave 10y agoThey don't need to be. But using channels for message passing instead of actors makes performance difficult.
- KirinDave 10y agoGo channels are slower than go mutexes for the same task set. See: http://www.jtolds.com/writing/2016/03/go-channels-are-bad-and-you-should-feel-bad/ http://www.jtolds.com/writing/2016/03/go-channels-are-bad-an...