Erlang Programming: A Concurrent Approach to Software Development

Front Cover
"O'Reilly Media, Inc.", Jun 11, 2009 - Computers - 498 pages

This book is an in-depth introduction to Erlang, a programming language ideal for any situation where concurrency, fault tolerance, and fast response is essential. Erlang is gaining widespread adoption with the advent of multi-core processors and their new scalable approach to concurrency. With this guide you'll learn how to write complex concurrent programs in Erlang, regardless of your programming background or experience.

Written by leaders of the international Erlang community -- and based on their training material -- Erlang Programming focuses on the language's syntax and semantics, and explains pattern matching, proper lists, recursion, debugging, networking, and concurrency.

This book helps you:

  • Understand the strengths of Erlang and why its designers included specific features
  • Learn the concepts behind concurrency and Erlang's way of handling it
  • Write efficient Erlang programs while keeping code neat and readable
  • Discover how Erlang fills the requirements for distributed systems
  • Add simple graphical user interfaces with little effort
  • Learn Erlang's tracing mechanisms for debugging concurrent and distributed systems
  • Use the built-in Mnesia database and other table storage features

Erlang Programming provides exercises at the end of each chapter and simple examples throughout the book.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 Introduction
1
Chapter 2 Basic Erlang
15
Chapter 3 Sequential Erlang
45
Chapter 4 Concurrent Programming
89
Chapter 5 Process Design Patterns
117
Chapter 6 Process Error Handling
139
Chapter 7 Records and Macros
157
Chapter 8 Software Upgrade
173
Chapter 13 Introducing Mnesia
293
Chapter 14 GUI Programming with wxErlang
309
Chapter 15 Socket Programming
323
Chapter 16 Interfacing Erlang with Other Programming Languages
335
Chapter 17 Trace BIFs the dbg Tracer and Match Specifications
355
Chapter 18 Types and Documentation
395
Chapter 19 EUnit and TestDriven Development
411
Chapter 20 Style and Efficiency
421

Chapter 9 More Data Types and HighLevel Constructs
189
Chapter 10 ETS and Dets Tables
213
Chapter 11 Distributed Programming in Erlang
245
Chapter 12 OTP Behaviors
263
Appendix Using Erlang
445
Index
451
Copyright

Common terms and phrases

Bibliographic information