The programming language designed to never turn off

The programming language designed to never turn off
Image: Intellect (generated)

In short: Most software eventually crashes or requires a reboot for updates. Erlang was engineered for the opposite goal: perpetual uptime. Originally built for massive telephone exchanges, it treats every task as an isolated process that can fail without taking down the entire system.

Developed at Ericsson in 1986 by Joe Armstrong, Robert Virding, and Mike Williams, Erlang was born from a necessity to manage complex telephony applications. While early versions were implemented in Prolog, they were too slow for production—requiring a speed increase of roughly 40 times. This led to the creation of the BEAM virtual machine in 1992, which balances performance and disk space by compiling Erlang to C using a mix of native and threaded code.

The language's architecture is defined by strict process isolation. Unlike many systems where a single error can crash an entire application, Erlang applications are composed of hundreds of tiny, lightweight processes. Each has its own memory and garbage collection. Communication happens exclusively through message passing; if you know a process's identifier (Pid), you can send it data. This design ensures that processes either perform their specific task or fail independently without affecting the rest of the system.

Erlang gained fame for achieving 'nine nines' of high availability in Ericsson's AXD301 switch, which contained over a million lines of code. Its reliability is why it powers massive scale systems like WhatsApp and Ejabberd. Beyond telecoms, its ability to handle concurrent tasks with 'hot swapping'—the ability to change code while the system is running—has made it a staple in FinTech, gaming, and IoT. It is essentially built for systems that cannot afford to go offline.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/technology-erlang-programming-language.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…