ssrlxl / akka.js

Akka, in Scala.js

Home Page:https://unicredit.github.io/akka.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Akka.Js

Scala.js

Join the chat at https://gitter.im/unicredit/akka.js

This repository is an ongoing effort to port Akka to the JavaScript runtime, thanks to Scala.js

LIVE DEMO

Use it

To have a blazing fast kick off you can check out our examples.

Otherwise, if you want to start from scratch:

First of all you need to setup a new Scala.js project. Then add to your JS project configuration:

resolvers += Resolver.sonatypeRepo("releases")

libraryDependencies += "eu.unicredit" %%% "akkajsactor" % "0.2.4.10"

If you want to use Akka Stream:

libraryDependencies += "eu.unicredit" %%% "akkajsactorstream" % "0.2.4.10"

Please note that Akka.js 0.2.4.10 is shipped from the stable Akka 2.4.10. At this point you can use most of the Akka core Api as described in the official docs.

Check out the @andreaTP session at Scala Days 2016: slides video

Design documentation

The BSc thesis detailing most of the work and the approach taken can be found here

The original codebase derives from SĂ©bastien Doeraene's scala-js-actors, you can find his original report here.

Build it

To work with the very last version you can compile and publish local:

git clone https://github.com/unicredit/akka.js
cd akka.js
sbt akkaJsActorJS/publishLocal

To have also the bleeding edge integration of akka-stream:

sbt akkaJsActorStreamJS/publishLocal

Akka version

Akka.Js can now compile against different versions of Akka, we check the codebase against MASTER, but for specific needs you can try to compile against a different Akka version by changing the akkaVersion while building.

License

Akka.js is distributed under the Scala License.

About

Akka, in Scala.js

https://unicredit.github.io/akka.js/


Languages

Language:Scala 100.0%