Crisp Lambda is an implementation of actor model using Java 8 lambda expressions.
Crisp Lambda uses Gradle as its build tool. To build the source code:
./gradlew buildIt configures and downloads Gradle if necessary and then builds the project.
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.
DedicatedThreadExamplethat uses a dedicated thread ownership to execute actor's messages.SharedThreadPoolExamplethat 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