Erlang is a general-purpose, garbage-collected programming language and runtime environment, with built-in support for concurrency, distribution and fault tolerance.
Erlang is a general-purpose functional programming language and runtime environment. It has built-in support for concurrency, distribution and fault tolerance. Erlang is used in several large telecommunication systems from Ericsson. Erlang is open source and available for download on GitHub.
Trying to get two erlang nodes talking to each other : one on a Ubuntu machine and one on Windows XP.
We're getting a "Connection attempt from disallowed node" message which prevents one node receiving messages from the other.
They're both using…
I have a process in erlang that is supposed to do something immediately after spawn, then send the result back to the parent when it is finished. How do I figure out the PID of the process that spawned it?
We are running RabbitMq 3.6.2 with Erlang 17.4 on Windows Server 2008.
We see the following record over and over in the sasl log. It is occurring sparratically (every few hours) with no particular pattern.
=SUPERVISOR REPORT====…
Will learning Prolog help to learn Erlang in a way specific to Erlang? Erlang started as a concurrent Prolog, but is modern Erlang connected to Prolog (beyond syntax)? I understand that learning Prolog might be good in the way learning Lisp is good…
One can init a Elixir node by iex using:
iex --sname node1@10.99.1.50 --cookie foo
And then another one can connect this node in REPL using:
Node.connect(:"node1@10.99.1.50")
It seems the connection is over TCP protocol. However, I didn't find a…
I am very new to Erlang programming language. Is there a standard build tool in Erlang?
I have googled out these, not sure which one I should use. I don't know that what kind of occasion is it used for?
Trying to define a custom behaviour in Erlang, I cannot figure out a way to apply the callback function inside the behaviour definition module. The compiler claims, the callback function is undefined.
I was expecting a callback function in a…
I'm working on a Erlang. How can I pass command line parameters to it?
Program File-
-module(program).
-export([main/0]).
main() ->
io:fwrite("Hello, world!\n").
Compilation Command:
erlc Program.erl
Execution Command-
erl -noshell -s…
I am reading http://olk.github.io/libs/fiber/doc/html/ It seems to me that with Boost.Fiber C++ is coming closer to Erlang's ability to have thousands of "processes", also known as "green processes[threads]"…
I am writing an ejabberd module to filter packets. I need to get the hostname to pull some configs using gen_mod:get_module_opt().
I have 4 important functions :
start(Host, _Opt) : This is an ejabberd function to load my module. I get the Host…
I just stomped at a begin...end in Erlang's documentation (here), but it doesn't give some examples of how it is useful.
Looking here in StackOverflow I found two cases where people would be using begin...end, both in list…