An introduction to Erlang
June 12, 2021
If you have used WhatsApp, Facebook Chat, then you have one way or the other interacted with an Erlang backed system.
Erlang is a language created for telecommunication industry by Jor Armstrong, Robert Virding and Mike Williams in 1986. It was recorded that Jor Armstrong claimed he was provided a library and did not know what to do with it, then they taught to solve the reliability and concurrent problem of the telecommunication industry, and that gave birth to Erlang.
The strength of Erlang lies in running scalable applications in a Distributed environment. It allows computers to network with each other with a very little overhead on the programmer and the operating system.
In this post, we would be getting a formal introduction to Erlang and we are just covering the basics. We would be covering variables, funcs (functions), modules, types, records, maps, processes, and distributed system.
The whole of the OTP framework won’t be covered. In the future, we would be having a post about this!
For a thorough guide on how to install Erlang runtime on different platforms, checkout Bruce Yinhe’s post on medium about this.
After a successful installation, open a terminal/CMD, and type in
a default welcome message and prompt should be seen. Great, welcome to the Erlang world.
Now that we have covered the very basic installation, follow through the links below to learn more about Erlang and its syntax.
- Pattern Matching
- Processes communication
- Distributed system