4 ms·
Looks like it is "go-style" because the API/syntax is modelled after the go API. In particular the "choose" macro from the example looks to be designed to mimic
by zucker42 5y ago
Looks like it is "go-style" because the API/syntax is modelled after the go API. In particular the "choose" macro from the example looks to be designed to mimic "select" even though otherwise macros might be dispreferred.
There's another library linked that has similar functionality with a less go-like API.
Just a guess.
- stingraycharles 5y agoAs someone who worked with a decent variety of languages that all claim their fame to CSP (Erlang, Clojure and Go), suffice to say that these all look very similar. It’s the tooling _around_ the CSP where the real differences are.
- deleted 5y ago[deleted]
- gpderetta 5y agoIsn't erlang closer to actors than CSP? I.e. no rendez-vous. Edit: this has been better discussed elsethread.
- yakubin 5y agoI think Concurrent ML (1991) had select before Go. Go itself took it from Newsqueak (1994) and Limbo (1995) I think. The name itself probably comes from the UNIX select(2) syscall, which first appeared in 4.2BSD (1983).