☼
⌃
☰

Erlang

Table of Contents

Erlang

Erlang is a general-purpose, concurrent, functional programming language and runtime system designed for building highly scalable, distributed, and fault-tolerant systems. It runs on the Erlang VM (known as BEAM) and is most powerful when used with the Open Telecom Platform (OTP), a collection of libraries and design principles for building robust applications.

At its core, Erlang utilizes the Actor Model, where programs are built from numerous lightweight, isolated processes that communicate by passing messages. This design enables massive Concurrency and is the foundation for Erlang's "let it crash" philosophy. In this model, OTP supervisors monitor worker processes and can automatically restart them if they fail, creating self-healing systems.

Erlang's battle-tested virtual machine and design principles are the foundation upon which modern languages like Elixir are built, inheriting its powerful capabilities for concurrency and resilience.