OlivierBlanvillain / scalajs-transport

MIT License
25 stars 4 forks source link

move to prickle #2

Open antonkulaga opened 9 years ago

antonkulaga commented 9 years ago

What about moving from scala-js-pickling to prickle ( https://github.com/benhutchison/prickle )? Prickle is based on scala-js-pickling, but (unlike scala-js-pickling) is actively maintained and more convenient to use.

OlivierBlanvillain commented 9 years ago

Could be, but the dependency on scala-js-pickling is only needed for the wrapper around akka/scala-js-actors. Given that scala-js-actors is still very experimental, unpublished, and unmaintained at the moment, I would that it's fine this way.

The dependency comes from this file AbstractProxy, which is essencialy the same as the original AbstractProxy from scala-js-actors and takes care of pickling/unpickling ActorRef so that actors can talk to each other across the network.