public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* csp lib
@ 2017-08-26 17:34 Sonny To
  2017-08-26 18:04 ` Per Bothner
  0 siblings, 1 reply; 2+ messages in thread
From: Sonny To @ 2017-08-26 17:34 UTC (permalink / raw)
  To: kawa

Does Kawa have a CSP lib like core.async has for clojure?

-Sonny

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: csp lib
  2017-08-26 17:34 csp lib Sonny To
@ 2017-08-26 18:04 ` Per Bothner
  0 siblings, 0 replies; 2+ messages in thread
From: Per Bothner @ 2017-08-26 18:04 UTC (permalink / raw)
  To: Sonny To, kawa

On 08/26/2017 10:34 AM, Sonny To wrote:
> 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
per@bothner.com   http://per.bothner.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-26 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-26 17:34 csp lib Sonny To
2017-08-26 18:04 ` Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).