talira

Practical functional programming for a parallel world

open sourceApache-2.0free

Erlang is a general-purpose functional language and runtime with built-in support for concurrency, distribution and fault tolerance, created at Ericsson for telecom systems. Programs are made of many lightweight processes that share nothing and communicate by message passing, supervised so that failures are contained and restarted. Code compiles to bytecode for the BEAM virtual machine, which the BeamAsm JIT turns into native code, and each process has its own garbage-collected heap. This listing is Erlang/OTP: the language together with OTP, its middleware and libraries for building fault-tolerant systems. Elixir runs on the same virtual machine. Apache-2.0 licensed since OTP 18 and maintained by Ericsson's Erlang/OTP unit.

Libraries for Elixir and Erlang

View 5 more

Browse all of them: 15 libraries, 3 frameworks, 11 APIs.

Problems it solves

  • build a chat or messaging backend that holds millions of open connections
  • a system that keeps running when parts of it crash, and restarts them on its own
  • which language should I use for a distributed, soft real-time service that can't go down
  • upgrade code in a running server without stopping it
  • run thousands of concurrent tasks without managing threads and locks
  • spread one application across several machines with messages between them
  • a functional language with immutable data and pattern matching for telecom or networking work

Features

  • lightweight processes with message passing
  • supervision trees for fault tolerance
  • built-in distribution across nodes
  • hot code loading
  • BEAM virtual machine with the BeamAsm JIT
  • per-process garbage collection
  • pattern matching and immutable data
  • OTP libraries and behaviours

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Erlang does.

  1. Elixir Simple from zero to scale
  2. Pony An open-source, object-oriented, actor-model, capabilities-secure, high-performance programming language

Compare Erlang with the top 3