Gorutine analogs in other languages

Concurrency is really the hard part of programming. Lately gorutin is very popular. My question is: what goroutine analogues exist in other languages?

+5
source share
1 answer

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.
+6
source

Source: https://habr.com/ru/post/1261755/


All Articles