3 ms·
Threads + some kind of channel (a la Erlang processes or Go's goroutines) are pretty much direct programmatic representations of CSP. sorry if i misinterpreted
by andrekandre 6y ago
Threads + some kind of channel (a la Erlang processes or Go's goroutines) are pretty much direct programmatic representations of CSP.
sorry if i misinterpreted, but i dont think that is correct that erlang processes exemplify channels/csp
afaiu erlang is based on non-sequencial processes more like the actor model, there is no "communicating sequencial" process at the base of it (though you can implement csp in actor languages) afaik
here you can see joe armstrong and carl hewitt fundamentally disagree with sir tony haore (csp) and sequential channels as a fundamental construct
[1] https://www.youtube.com/watch?v=37wFVVVZlVU&t=720s https://www.youtube.com/watch?v=37wFVVVZlVU&t=720s
again, apologies if im arguing something that wasnt implied, it was just something i noticed ^^
- simiones 6y agoThank you for pointing this out, I wasn't aware! I had just assumed that Erlang's message passing was also synchronous...