Erlang vs. Scala
yarivsblog.blogspot.com
yarivsblog.blogspot.com
The sad thing is that this same friend just built a huge system with Erlang for another company and loved it. It did the job wonderfully and performed under pressure like a champ. However the new gig for him wouldn't let him use a 'non-java' programming language. Scala is even a stretch.
Given my experience with Erlang, I can wholeheartedly recommend it to someone looking to build a system in Erlang's sweetspot.
The author of the project claim, that with time Erjang will be better/faster than Erlang, since JVM getting improved faster, than standard Erlang VM - BEAM.
So I posted this question on StackOverflow and on the Akka mailing list:
http://stackoverflow.com/questions/3692680/scala-akka-how-to...
The question is about how you build fault tolerance, such that your cluster has no single point of failure. At the time, the principal authors of Akka responded saying that you can't right now out of the box, and they're working on that for a later commercial release.
Since then I started looking at integrating Scala + Zookeeper, and more seriously considered Go + Zookeeper, and it revived my interest in Erlang.
Not knowing anything about your problem domain, of course...
I'm not very familiar with Erlang, but I thought mutability was pretty easy to achieve there. Maybe it's the messages that have to be immutable? Could someone clarify?
Unless you have a really good reason, using the process dictionary is generally frowned upon.
His point is that since in Scala mutability is possible (and indeed is idiomatic) you run into concurrency concerns.