Erlang and Scala

0 like 0 dislike
12 views
Recently I studied Scala, interested in Erlang.
I have been reading conflicting discussions, I would like to hear the opinions of people who have already faced this dilemma.
What do you choose? Why?

Maybe someone working with Akka? It turns out of him a full-fledged alternative to the distributed nodes Erlang'a?
by | 12 views

5 Answers

0 like 0 dislike
Tried working with both languages. Experience small, but there.
\r
Scala (Lift fingered frameworks and Actors). Object-oriented language, in General, well integrated with Java. On the face of some ambiguity paradigm, and a broader range of concepts included in the language in this regard.
\r
Not like a traditional JVM immense depth Tracy. The syntax is familiar, a La Java.
\r
Brand feature: Actors — freimark in the language, it is distributed (or rather, distributed) tasks.
\r
Erlang is an interesting high-level implementation of functional paradigms. My sympathy is with the language.
\r
No global state, mutable variables, the redundancy of the PLO, pure message passing. The developer is almost completely abstracted from the level of nodes in the cluster.
\r
Avista may seem unusual syntax, and a purely functional programming style. Some more time will be spent on development. Tracy moderate zashifrovannoe.
by
0 like 0 dislike
Here's a pretty interesting comparison of erlang and rocks — the author started with erlang, and then looked at the rock. Sometimes view "the other side": wiki.rsdn.ru/thinking-in-erlang-vs-scala.ashx
by
0 like 0 dislike

To traisum erlanga very quickly get used, to the extent they are detailed and always accurately localize the problem. Personally, I Tracy erlang'like a lot more than java.

by
0 like 0 dislike
Have Erlang'but a living community. Scala has its problems, perhaps temporary.
If you are confused by the syntax Erlang'and look at Reia.
Still was at the time an interesting project, Kilim, actor framework for Java, but hard to say how he's alive.
by
0 like 0 dislike
We write in Scala and Erlang. I personally write in Erlang, my opinion about this language can be read here. In a nutshell, language is not without its rough edges, but overall very good.

Rock also tried, but it is not imbued. The language is difficult, slow compiles, a lot of props (manifests, etc.). As for Akka, it is poorly lapped actors Erlang'. Poorly lapped, at least, because the actor can rest on the I/O, thereby blocking all the actors operating on the same thread. In Erlang all I/O happens via select/poll, so this problem will not arise. In addition, Erlang distributes CPU time between actors and the JVM can not, simply because it is not created for this.

In conclusion, even our Scala developers spit on Akka and prefer those old actors from Scala 2.8.
by

Related questions

0 like 0 dislike
6 answers
asked Mar 28, 2019 by max_mara
0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
28,888 users