/learning-erlang

Musings on the Erlang language while I'm learning it.

Intro

  • Erlang, was developed by Ericson in 1986, the goal was to solve the telephony problem of the time. It has a VM called BEAM that is extraordinarily powerful. It was built to guarantee an availability of 99.9999999%. The name Erlang refers to "Ericsson Language".

  • Joe Armstrong remarked in an interview with Rackspace in 2013: “If Java is 'write once, run anywhere', then Erlang is 'write once, run forever'.”[14]

  • The Erlang view of the world, as Joe Armstrong, co-inventor of Erlang, summarized in his PhD thesis:

    • Everything is a process.

    • Processes are strongly isolated.

    • Process creation and destruction is a lightweight operation.

    • Message passing is the only way for processes to interact.

    • Processes have unique names.

    • If you know the name of a process you can send it a message.

    • Processes share no resources.

    • Error handling is non-local.

    • Processes do what they are supposed to do or fail.

Install

Right now, the latest version of erlang is 20.1. You can download the .deb correct .deb file for your system.

Double click the .deb file and install the erlang. You can also find erlang setups for other versions and other distributions in Erlang Solutions.

The Free Lunch Is Over

The Actor Model