Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Is erlang really a functional language?


Asked by Philip Schmidt on Dec 03, 2021 Erlang



Erlang ( / ˈɜːrlæŋ / UR-lang) is a general-purpose, concurrent, functional programming language, and a garbage-collected runtime system.
Next,
Erlang has three significant advantages over other programming languages, which mainly stem from the unique way the language is built. Concurrency. BEAM, the Erlang virtual machine, uses lightweight threads of execution (called processes). These are isolated, run across all CPUs, and communicate through messages.
Similarly, The actor model in Erlang (processes and their current state and output) can be regarded as being on another level than the language, and in that case, Erlang clearly deserves to be called functional. But if you regard the actor model as part of "the language", then you are suddenly dealing with effects, time, and nondeterminism.
One may also ask,
In 2014, Ericsson reported Erlang was being used in its support nodes, and in GPRS, 3G and LTE mobile networks worldwide and also by Nortel and T-Mobile.
Subsequently,
With Erlang, Elixir shares these three characteristics: Concurrency. Elixir uses lightweight threads of execution (called processes). These are isolated, run across all CPUs, and communicate through messages.