The actor model is nicely described by Gul Agha on his technical report, \"Actors: a model of concurrent computation in distributed systems\".
So, Erlang is a real joy to work with, but there\'s one problem I run into occasionally, that I\'m wondering if there is a nicer way to solve. Often, I find myself needing to split several items from
Suppose you have a simple function, which can get quite expensive for large values: fact(0) -> 1; fact(N) -> N * fact(N - 1).
I\'ve written code in Erlang, and I get the correct answer on my machine. But when I submit it on SPOJ it gives an NZEC (non zero exit code) error. I have used built-in functions like halt() and init:
I am planning a turn based game (a sort of board game), and the backend will probably be done in Erlang. The game logic part seems to be a fit for a hierarchical state machine, but I\'m not sure about
If i call the test(), it doesnt work. Can someone explain this ?. -module(anony). -export([test/0, test1/0]).
As I learn Erlang, I\'m trying to solve ex. 4.1 (\"An Echo server\") from \"Erlang Programming\" book (by O\'Reilly) and I have a problem.
I\'m trying to be a good erlanger and avoid \"++\". 开发者_开发百科I need to add a tuple to the end of a list without creating a nested list (and hopefully without having to build it backwards and rev
I don\'开发者_JAVA技巧t really understand, how can Erlang be more efficient than C++?Erlang is far less efficient than C++. Erlang\'s big strength is scalability, not efficiency. It will linearly scal
I am using Erlang for driving robot using wireless serial communication. I want to use the robot in safety critical systems so I need to calculate the latency between Erlang and C program. Can anybody