Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent of Haskell's CHP for Scala?

Clojure has this amazing library implementing Tony Hoare's Communicating Sequential Processes called core.async.

Haskell appears to have an equivalent called chp. (Not sure if it compiles under GHC 7.8).

My question is Is there an equivalent of Haskell's CHP for Scala?

like image 292
hawkeye Avatar asked Nov 11 '22 03:11

hawkeye


1 Answers

You should have a look at this:

https://groups.google.com/forum/#!msg/scala-user/NljrQ4Mc-aI/3ISm68sqLNAJ

It provides a really interesting list of alternatives for doing CSP in Scala and doesn't recommend JCSP since it's development apparently stopped in 2011.

It also talks about a really interesting paper written by Andrew Bate at Oxford that describes a DSL in Scala for CSP but that whose implementation hasn't been open sourced.

It finally describes Quasar that seems the best alternative. If you're interested in Quasar, this post gives a good description of how Quasar works.

like image 171
txominpelu Avatar answered Nov 15 '22 06:11

txominpelu