Actor model in Java 8 Lambda Expressions
Java Shell Groovy
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src/main/java/nl/cwi/crisp
.gitignore
LICENSE.txt
README.md
build.gradle
gradlew

README.md

Crisp Lambda

Crisp Lambda is an implementation of actor model using Java 8 lambda expressions.

Build

Crisp Lambda uses Gradle as its build tool. To build the source code:

./gradlew build

It configures and downloads Gradle if necessary and then builds the project.

Examples

As an example a ping-pong model of actors is provided in the example package of the source. There are two examples with two different approaches of concurrency using Crisp Lambda API.

  1. DedicatedThreadExample that uses a dedicated thread ownership to execute actor's messages.
  2. SharedThreadPoolExample that uses a shared pool of threads and shared message queue to execute actor's messages.

To run the examples, edit build.gradle and choose the main class, then:

./gradlew run