A tutorial that shows how to use Akka to calculate PI.
PI can be approximated by generating a uniformly distributed number of x,y
coordinates between 0 and 1 and then calculating:
- Java JDK 1.8 or greater (JDK 11 is fine): https://jdk.java.net/java-se-ri/11
- Sbt (Scala Build Tool), version 1.2.x or greater: https://www.scala-sbt.org/
Uncompress the toools somewhere.
Make sure these paths are in your PATH
environment variable:
/path/to/jdk/bin
/path/to/sbt/bin
sbt compile
sbt "run 100 2000"
sbt test