9,681
questions
742
votes
17
answers
161k
views
Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell
I have taken Problem #12 from Project Euler as a programming exercise and to compare my (surely not optimal) implementations in C, Python, Erlang and Haskell. In order to get some higher execution ...
316
votes
9
answers
33k
views
Why are there two kinds of functions in Elixir?
I'm learning Elixir and wonder why it has two types of function definitions:
functions defined in a module with def, called using myfunction(param1, param2)
anonymous functions defined with fn, ...
281
votes
11
answers
111k
views
Where is Erlang used and why? [closed]
I would like to know a list of the most common application/websites/solutions where Erlang is used, successfully or not.
Explaining why it is used into a specific solution instead of others ...
194
votes
7
answers
38k
views
Technically, why are processes in Erlang more efficient than OS threads?
Erlang's Characteristics
From Erlang Programming (2009):
Erlang concurrency is fast and scalable. Its processes are lightweight in that the Erlang virtual machine does not create an OS thread for ...
136
votes
12
answers
142k
views
How to get Erlang's release version number from a shell?
Many programs return their version number with a command like:
$ program --version
program (platform info) v1.2.3
This is useful for scripting the installation or maintenance of the program, and some ...
131
votes
3
answers
48k
views
What kind of virtual machine is BEAM (the Erlang VM)?
From what I understand a virtual machine falls into two categories either "system virtual machine" or a "process virtual machine". It's kind of fuzzy to me where BEAM lies. Is there another kind of ...
129
votes
5
answers
44k
views
Are there things Elixir can do that Erlang cannot, or vice versa?
This question is in the context of the Beam VM and the capabilities that it provides, not in the general context of what a Turing complete language can do. I want to invest some time to learn either ...
119
votes
1
answer
14k
views
Where does Elixir/erlang fit into the microservices approach? [closed]
Lately I've been doing some experiments with docker compose in order to deploy multiple collaborating microservices. I can see the many benefits that microservices provide, and now that there is a ...
117
votes
5
answers
17k
views
What is Erlang written in?
What is Ericsson's implementation of Erlang and Erlang/OTP written and compiled in? Is is assembly, C or Erlang itself?
Update 1: Thanks to DrJokepu. If I understand correctly, Erlang source-to-VM ...
111
votes
4
answers
40k
views
Erlang's 99.9999999% (nine nines) reliability
Erlang was reported to have been used in production systems for over 20 years with an uptime percentage of 99.9999999%.
I did the math as the following:
20*365.25*24*60*60*(1 - 0.999999999) == 0.631 ...
104
votes
5
answers
30k
views
How does akka compare to Erlang? [closed]
I've been looking at akka recently and it's pretty impressive. It looks like it has most of the killer features of erlang - location transparency, supervision hierarchies, and more. Are there any ...
92
votes
8
answers
15k
views
How/why do functional languages (specifically Erlang) scale well?
I have been watching the growing visibility of functional programming languages and features for a while. I looked into them and didn't see the reason for the appeal.
Then, recently I attended Kevin ...
89
votes
4
answers
15k
views
What's the status of current Functional Reactive Programming implementations?
I'm trying to visualize some simple automatic physical systems (such things as pendulum, robot arms,etc.) in Haskell.
Often those systems can be described by equations like
df/dt = c*f(t) + u(t)
...
86
votes
9
answers
32k
views
Node.js or Erlang
I really like these tools when it comes to the concurrency level it can handle.
Erlang/OTP looks like much more stable solution but requires much more learning and a lot of diving into functional ...
82
votes
14
answers
59k
views
What's a good IDE for Erlang programming? [closed]
As far as I know there's Erlang plugin for NetBeans and Eclipse. Which one has the upper hand at the moment?
Are there any other IDE for Erlang which I didnt mention, and how good are they when ...