-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Calispel? #290
Comments
Maybe… at the moment I see 3 commits and zero stars… you want to post it to reddit to see if there is feedback, and giving yours? |
I believe this it's one of those older libraries that was re-hosted on GitHub.
Hence the small number of commits.
|
I've finally found the time to test this.
In short, Calispel seems to just work for everything related to CSP. If this verifies, then I would recommend Calispel over Lparallel and ChanL which have proven a bit painful for me because of the above points. |
Another benefit of Calispel: FAIR-ALT (the 'select' statement in CSP) is an expression and returns a value, unlike ChanL. |
Looks like no one really had an opinion about CSP on Reddit. To test Calispel more in depth, I've replaced ChanL with it in Nyxt: atlas-engineer/nyxt#1047 Works like a charm, and I'm already benefiting from To conclude, I suggest that we put this library at the top of the recommendations on concurrency. Maybe hand in hand with lparallel, since the latter has convenience functions like |
OK. We can put it above ChanL, if it has more features. I think a link to the reddit discussion, or a sentence with your opinion would be beneficial. Not only the reference, but something more opinionated, that gives more pointers. (lparallel is far more used so it should still stand out, IMO) |
What about this:
"Calispel is a complete is a complete implementation of
[CSP](https://en.wikipedia.org/wiki/Communicating_sequential_processes)
with blocking, optionally buffered channels and a "CSP select"
statement.
It's complete, flexible and easy to use."
|
Thanks again! :)
|
GitHub: https://github.com/hawkir/calispel
I believe it provides a couple of procedures that lparallel misses, e.g. the "select" procedure to choose the next available channel among a set of channels.
The text was updated successfully, but these errors were encountered: