goroutine is inspired by CSP (sequential process transfer) , which greatly affects the design of occam , and also influenced the design of programming languages ββsuch as Limbo , RaftLib , Go and Crystal .
Note that goroutine is not without criticism .
It differs from the Model of the actor in that:
- CSP processes are anonymous, and subjects have identifiers.
- CSP messaging basically involves rendezvous between processes associated with sending and receiving messages. In contrast, messaging in actor systems is fundamentally asynchronous.
- CSP uses explicit channels to send messages, while actor systems send messages to the specified target parties.
source share