public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Sonny To <son.c.to@gmail.com>, kawa@sourceware.org
Subject: Re: csp lib
Date: Sat, 26 Aug 2017 18:04:00 -0000	[thread overview]
Message-ID: <db156979-310f-1e32-01bf-3bc6fb95061d@bothner.com> (raw)
In-Reply-To: <CAJxjsJvqN37SPBZKqv5tXyHjGan4bxNWinZM4_jv+bBcf-tpCw@mail.gmail.com>

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/

      reply	other threads:[~2017-08-26 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-26 17:34 Sonny To
2017-08-26 18:04 ` Per Bothner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db156979-310f-1e32-01bf-3bc6fb95061d@bothner.com \
    --to=per@bothner.com \
    --cc=kawa@sourceware.org \
    --cc=son.c.to@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).