DEV Community

Discussion on: I'm learning all about Erlang this weekend. I'm feeling pretty lost but I'm having fun.‬

Collapse
 
saurabhgiv profile image
saurabh.v • Edited

Yes, there are many different concepts in Erlang which we don't usually find in other languages. Language works primarily on the principle of message passing where processes communicate only by passing messages. Since there is no concept of shared memory and mutable data, it results in quite simplified code with no involvement of locking or any such concepts.

It offers fault tolerance since some processes are classified as supervisors(gen_supervisor) who manage other processes(gen_server, gen_fsm) and restart/stop them when they die.