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.
i am developing one program with erlang, which need to read config file when starting, then load the config data to database. originally, using Ruby or C i can load YAML file or conf file. I want to know, in erlang's world, is there any good way to…
I need get all registered process. I input register(). a
mnesia_event,kernel_safe_sup,mnesia_monitor,mnesia_snmp_sup,
mnesia_recover,mnesia_late_loader,mnesia_kernel_sup,inet_db,
rex,kernel_sup,global_name_server,mnesia_checkpoint_sup,
…
I am interested in delving into Erlang's C source code and try to understand what is going on under the hood. Where can I find info on the design and structure of the code?
I'm sorry but I'm new to Elixir. while building phoenix application, mix deps.get failed with an error.
% mix deps.get
Could not find Hex, which is needed to build dependency :phoenix
Shall I install Hex? [Yn] y
** (MatchError) no match of right…
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 a list. The syntax for splitting a list into a Head…
I'm trying to get to know what modules are in Elixir. Because in Erlang they're just atoms, but in Elixir atoms start with : character.
So I've checked these expressions in iex:
iex(16)> is_atom(List)
true
iex(17)> is_atom(:List)
true
iex(18)> List…
Being a rubyist, I decided to take on erlang for high performance, reliable backend.
The setup is quite simple: get a post request, write stuff to redis, return statistics. All json. this is also why I care so much about requests per second.
Tools…
I wanted to use YAML but there is not a single mature YAML library for Erlang. I know there are a few JSON libraries, but was wondering which is the most mature?
I tries to write code to print Z character.
zzzzzzz
z
z
z
z
z
zzzzzzz
But when I compile this code, it throws
D:\erlang\graphics>erlc zeez2.erl
d:/erlang/graphics/zeez2.erl:19: head mismatch
d:/erlang/graphics/zeez2.erl:6: function…
I'm looking for an Erlang library function that will return the index of a particular element in a list.
So, if
X = [10,30,50,70]
lists:index_of(30, X)
would return 1, etc., just like java.util.List's indexOf() method.
Does such a method exist in…
Suppose I have something like this :
try code_that_fails()
catch _:_ -> .....
How do I print the stacktrace in the catch block? That block catches all exceptions, but I don't know how to print the stack...
Can you help me?
I would like to develop and deploy an Erlang/OTP application into production on a VPS.
I am pretty familiar with developing Erlang code on a local machine and my question is about deployment.
Basically, I would like to know what steps I should take…