Concurrent Programming in ERLANG
Concurrent Programming in Erlang is a comprehensive guide to Erlang programming language and its concurrent programming model. The book is written by expert programmers and Erlang enthusiasts, Joe Armstrong, Robert Virding, Mike Williams, and Mike Hammar. The authors’ combined expertise and experience make this book an essential reference for anyone interested in concurrent programming in general and Erlang specifically.
Erlang is a unique programming language that was designed to handle large, concurrent, and fault-tolerant systems. It was initially developed by Ericsson for use in their telecommunications equipment, where reliability and high availability are crucial. Over the years, Erlang has gained popularity outside the telecommunications industry and is now widely used in web development, distributed systems, and high-performance computing.
The book starts with an introduction to the Erlang programming language and its features. The authors explain Erlang’s syntax, data types, and pattern matching, making it easy for readers to follow the examples and understand the concepts presented in the book. They then dive into concurrent programming in Erlang, explaining how Erlang’s lightweight processes and message passing work, and how they can be used to build highly concurrent systems.
The book covers various topics such as process management, error handling, fault tolerance, distributed computing, and performance tuning. It also includes several case studies and real-world examples that demonstrate how Erlang can be used to solve complex problems.
One of the unique features of Erlang is its support for hot code loading, which allows running systems to be updated with new code without interrupting the running processes. The book explains how this feature works and how it can be used to achieve zero-downtime upgrades.
The authors also cover the OTP (Open Telecom Platform), which is a set of Erlang libraries and tools used for building robust and fault-tolerant systems. They explain how OTP can be used to build highly available and fault-tolerant systems and how it can be used to manage complex distributed systems.
In conclusion, This book is an excellent resource for anyone interested in learning concurrent programming or mastering Erlang. The book is well-written, and the authors’ expertise and experience shine through in every chapter. Whether you are a seasoned Erlang programmer or a beginner, this book is a must-read.