Discussion:
csp lib
Sonny To
2017-08-26 17:34:12 UTC
Permalink
Does Kawa have a CSP lib like core.async has for clojure?

-Sonny
Per Bothner
2017-08-26 18:04:26 UTC
Permalink
Post by Sonny To
Does Kawa have a CSP lib like core.async has for clojure?
Not directly.

Kawa does have promises, which can be used as one-shot channels:
https://www.gnu.org/software/kawa/Lazy-evaluation.html
See also 'future':
https://www.gnu.org/software/kawa/Threads.html

You also have easy access to all the Java libraries,
such as java.util.concurrent.
Or you could use JCSP https://www.cs.kent.ac.uk/projects/ofa/jcsp/
--
--Per Bothner
***@bothner.com http://per.bothner.com/
Loading...