4 ms·
They are both based on CSP, but Go channels are a little bit different: http://www.youtube.com/watch?v=f6kdp27TYZs&t=4m57s http://www.youtube.com/watch?v=f6kdp2
by mseepgood 14y ago
They are both based on CSP, but Go channels are a little bit different:
http://www.youtube.com/watch?v=f6kdp27TYZs&t=4m57s http://www.youtube.com/watch?v=f6kdp27TYZs&t=4m57s
- mononcqc 14y agoThere is not much that is CSP about Erlang.
- bascule 14y agoThe main difference between CSP in Go and the actor model in Erlang is that actor mailboxes are many-to-one whereas CSP channels are many-to-many. If you were to model CSP using actors, channels would be actors.
- Mr_T_ 14y agoAnd you can send a channel over a channel or store it in a data structure or pass it to a function.