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.
The environment is archlinux running in virtual machine.
Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:2:2]
[async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.0.2) - press Ctrl+C to exit (type h() ENTER for
help)
If I run…
Message passing is at the core of Erlang - "Message passing through Processes".
But the concept of Virtual Machine when it comes to erlang is still vague.
Any Help?
I have to write a function that takes a list of integers as a parameter & returns the number of integers from the list that are less than 1. What I have so far is a function that just returns how many integers in the list. I am not sure where/if I'm…
I have seen lots of chat examples in Erlang but what about lists, like a work queue? If I want to build a work queue system, like a project management system, is it possible to re-order messages in a process mailbox or do I have to use message…
My project has a number of dependencies in .../deps, and two contained Erlang apps in .../apps.
rebar.config:
{sub_dirs, ["apps/rmbrDb","apps/rmbrRest","rel"]}.
{lib_dirs, ["deps","apps"]}.
{deps, [
{webmachine, "1.10.*", {git,…
It is said that if configured erlang with cookie setting, the erlang's process could be run across different machines, and this is transparent to the caller.
Is that possible for goroutine run like this?
Is there a tracing debugger like dbg available for Haskell or OCaml?
Very informally, it's printf-style debugging only better, completely configurable at runtime. In essence, the user can register a trace handler when a system is running, which will…
I use erts_debug:size/1 to calculate the memory for atom in erlang VM, but i find that the output is zero. Who can explain the reason?
7> erts_debug:size(true).
0
After spending a good while getting rb to work on a remote shell, I would like to get stdio / error logger messages on a remote shell, I have dug around changing group_leaders but it would seem to require changing the group_leader of all the running…
Is it possible to write the following Erlang code only with Java 8 lambda expressions and Java 8 streams?
This is from List Comprehensions 3.3 Permutations
perms([]) -> [[]];
perms(L) -> [[H|T] || H <- L, T <- perms(L--[H])].
I want to run a small clean up process every few hours on an Erlang server.
I know of the timer module. I saw an example in a tutorial used chained timer:sleep commands to wait for an event that would occur multiple days later, which I found…
Just trying to do simple sum of list values.
defmodule Mth do
def sum_list([]) do
0
end
def sum_list([H|T]) do
H + sum_list(T)
end
end
IO.puts Mth.sum_list([1, 2, 300])
But I get this…
Read (skimmed enough to get coding) through Erlang Programming and Programming Erlang.
One question, which is as simple as it sounds:
If you have a process Pid1 on machine m1 and a billion million messages are sent to Pid1, are messages handled in…
Is there an Erlang AMQP client library that is not tied to the hip with RabbitMQ?
I know about rabbitmq-erlang-client but I would like something more decoupled... pain when it comes to packaging this stuff for a Debian repository, installation…