Erlang Programming

Erlang Programming : A Concurrent Approach to Software Development

By (author)  , By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 3 business days
When will my order arrive?


A Concurrent Approach to Software Developmentshow more

Product details

  • Paperback | 498 pages
  • 182.88 x 233.68 x 27.94mm | 680.39g
  • O'Reilly Media, Inc, USA
  • Sebastopol, United States
  • English
  • 1, black & white illustrations
  • 0596518188
  • 9780596518189
  • 156,660

About Francesco Cesarini

Francesco Cesarini is the founder and CTO of Erlang Training and Consulting. Having used Erlang on a daily basis since 1995, he started his career as an intern at Ericsson's computer science lab, the birth place of Erlang. He spent four years at Ericsson working with flagship Erlang projects, including the R1 release of the OTP middleware. He has taught Erlang/OTP to all parties involved in the software cycle, including developers, support engineers, testers as well as project and technical managers. In 2003, he also started teaching undergraduate students at the IT University of Gothenburg. Soon after Erlang was released as Open Source, he founded Erlang Training and Consulting. With offices in the UK, Sweden, Poland (and soon the US), they have become the world leaders in Erlang based consulting, contracting, support, training and systems development. Their client base is spread on five continents and ranges from small start-ups to blue chip companies. In his role as CTO, is currently leading the research, development and consulting teams. He is active in the Erlang community not only through regularly talks, seminars and tutorials at conferences worldwide, but also through his involvement in international research projects. He organises local Erlang user groups and with the help of his colleagues, runs the Erlang community website. Simon Thompson is Professor of Logic and Computation in the Computing Laboratory of the University of Kent, where he has taught computing at undergraduate and postgraduate levels for the past twenty five years, and where he has been department head for the last six. His research work has centered on functional programming: program verification, type systems, and most recently development of software tools for functional programming languages. His team has built the HaRe tool for refactoring Haskell programs, and is currently developing Wrangler to do the same for Erlang. His research has been funded by various agencies including EPSRC and the European Framework programme. His training is as a mathematician: he has an MA in Mathematics from Cambridge and a D.Phil. in mathematical logic from Oxford. He has written three books in his field of interest; Type Theory and Functional Programming published in 1991; Miranda: The Craft of Functional Programming (1995) and Haskell: The Craft of Functional Programming (2nd ed. 1999). These are all published by Addison more

Review quote

"Auf 470 Seiten ist es den Autoren gelungen, den Leser bis in die Tiefen der Erlang-Entwicklung zu begleiten." - iX, Juni 2010 "Das Buch Erlang Programming ist eine absolut gelungene Rundum-Einführung in die vielen Aspekte des Programmierens in Erlang. Ein Buch, was man auch dann lesen sollte, wenn man nicht gerade konkret mit Erlang programmieren muss. Die hierin vermittelten Grundlagen sind wertvolles Allgemeinwissen, um das man nicht drumherumkommt. Klar und umfassend dargestellt kann man sich keine bessere Darstellung vorstellen. Ein Buch, das Türen öffnet und den Verständnishorizont enorm erweitert." IT-Stammtisch Darmstadt - März 2010show more

Table of contents

Inhaltsverzeichnis§Chapter 1 Introduction§Why Should I Use Erlang?§The History of Erlang§Erlang s Characteristics§Erlang and Multicore§Case Studies§How Should I Use Erlang?§Chapter 2 Basic Erlang§Integers§The Erlang Shell§Floats§Atoms§Booleans§Tuples§Lists§Term Comparison§Variables§Complex Data Structures§Pattern Matching§Functions§Modules§Exercises§Chapter 3 Sequential Erlang§Conditional Evaluations§Guards§Built-in Functions§Recursion§Runtime Errors§Handling Errors§Library Modules§The Debugger§Exercises§Chapter 4 Concurrent Programming§Creating Processes§Message Passing§Receiving Messages§Registered Processes§Timeouts§Benchmarking§Process Skeletons§Tail Recursion and Memory Leaks§A Case Study on Concurrency-Oriented Programming§Race Conditions, Deadlocks, and Process Starvation§The Process Manager§Exercises§Chapter 5 Process Design Patterns§Client/Server Models§A Process Pattern Example§Finite State Machines§Event Managers and Handlers§Exercises§Chapter 6 Process Error Handling§Process Links and Exit Signals§Robust Systems§Exercises§Chapter 7 Records and Macros§Records§Macros§Exercises§Chapter 8 Software Upgrade§Upgrading Modules§Behind the Scenes§Upgrading Processes§The .erlang File§Exercise§Chapter 9 More Data Types and High-Level§Constructs§Functional Programming for Real§Funs and Higher-Order Functions§List Comprehensions§Binaries and Serialization§References§Exercises§Chapter 10 ETS and Dets Tables§ETS Tables§Dets Tables§A Mobile Subscriber Database Example§Exercises§Chapter 11 Distributed Programming in Erlang§Distributed Systems in Erlang§Distributed Computing in Erlang: The Basics§The epmd Process§Exercises§Chapter 12 OTP Behaviors§Introduction to OTP Behaviors§Generic Servers§Supervisors§Applications§Release Handling§Other Behaviors and Further Reading§Exercises§Chapter 13 Introducing Mnesia§When to Use Mnesia§Configuring Mnesia§Transactions§Partitioned Networks§Further Reading§Exercises§Chapter 14 GUI Programming with wxErlang§wxWidgets§wxErlang: An Erlang Binding for wxWidgets§A First Example: MicroBlog§The MiniBlog Example§Obtaining and Running wxErlang§Exercises§Chapter 15 Socket Programming§User Datagram Protocol§Transmission Control Protocol§The inet Module§Further Reading§Exercises§Chapter 16 Interfacing Erlang with Other Programming Languages§An Overview of Interworking§Interworking with Java§C Nodes§Erlang from the Unix Shell: erl_call§Port Programs Library Support for Communication§Linked-in Drivers and the FFI§Exercises§Chapter 17 Trace BIFs, the dbg Tracer, and Match Specifications§Introduction§The Trace BIFs§Tracing Calls with the trace_pattern BIF§The dbg Tracer§Match Specifications: The fun Syntax§Match Specifications: The Nuts and Bolts§Further Reading§Exercises§Chapter 18 Types and Documentation§Types in Erlang§TypEr: Success Types and Type Inference§Documentation with EDoc§Exercises§Chapter 19 EUnit and Test-Driven Development§Test-Driven Development§EUnit§The EUnit Infrastructure§Testing State-Based Systems§Testing Concurrent Programs in Erlang§Exercises§Chapter 20 Style and Efficiency§Applications and Modules§Processes and Concurrency§Stylistic Conventions§Coding Strategies§Efficiency§And Finally...§Appendix Using Erlang§Getting Started with Erlang§Tools for Erlang§Where to Learn More§Colophonshow more