Erlang Tutorial

Erlang Tutorial

Erlang is a general purpose or you might say a functional programming language and runtime environment. It was built in such a way that it had inherent support for concurrency, distribution and fault tolerance. Erlang was originally developed to be used in several large telecommunication systems. But it has now slowly made its foray into diverse sectors like ecommerce, computer telephony and banking sectors as well.


This tutorial has been prepared for professionals aspiring to make a career in the field of telecom, banking, instant messaging, e-commerce and computer telephony as well. This tutorial will give you enough understanding on this programming language and also help you in building scalable soft real time systems that will have requirements on higher availability.


Before proceeding with this tutorial, you must have some basic knowledge on programming in the following languages such as C or C++, Java, Python, Ruby. Furthermore, it might also be helpful, to have some working knowledge on functional programming languages like Clojure, Haskell, Scala or OCaml for advanced programming on Erlang.

Execute Erlang Online

For most of the examples given in this tutorial you will find Try it option, so just make use of this option to execute your Erlang programs at the spot and enjoy your learning.

Try following example using Try it option available at the top right corner of the below sample code box −

% hello world program

start() -> 
   io:fwrite("Hello, world!\n").