3 ms·
Go gives you Erlangs concurency model There are a number of significant differences between Erlang's and Go's concurrency models: Asynchronous vs synchronous c
by DanWaterworth 13y ago
Go gives you Erlangs concurency model
There are a number of significant differences between Erlang's and Go's concurrency models: Asynchronous vs synchronous communication, per-thread vs per-process heaps, send to process vs send to channel.
- zaphar 13y agoGo has asynchronous communication and synchronous communication. And the other things you mention are in practice not significant differences. The model both use is based on Hoares CSP and the same general ways of using apply. Some of the specifics must accomodate differences but those are differences of implementation not the general model.
- DanWaterworth 13y agoNo, they are different models [1]. Go does not have asynchronous communication. Bounded channels are still synchronous, because there is still synchronization happening; the consumer can't get too far behind the producer. [l] https://en.wikipedia.org/wiki/Communicating_sequential_processes#Comparison_with_the_Actor_Model https://en.wikipedia.org/wiki/Communicating_sequential_proce....