This is the most comprehensive book on Erlang, a language that's seen exponential growth due to increasing interest in concurrent programming. Erlang Programming provides an in-depth explanation of the essentials of Erlang, now poised to become a major language alongside C and Java. All readers, regardless of programming background or level, will learn how to write fairly complex concurrent programs with Erlang. The book focuses the language's syntax and semantics, and explains pattern matching, proper lists, recursion, debugging, networking, and concurrency. This book is an in-depth…mehr
This is the most comprehensive book on Erlang, a language that's seen exponential growth due to increasing interest in concurrent programming. Erlang Programming provides an in-depth explanation of the essentials of Erlang, now poised to become a major language alongside C and Java. All readers, regardless of programming background or level, will learn how to write fairly complex concurrent programs with Erlang. The book focuses the language's syntax and semantics, and explains pattern matching, proper lists, recursion, debugging, networking, and concurrency. 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.
Francesco Cesarini is the founder and CTO of Erlang Training and Consulting http://www.erlang-consulting.com/. 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 an 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 trapexit.org http://www.trapexit.org/ 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 Wesley.
Inhaltsangabe
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 Colophon
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 Colophon
Rezensionen
"Auf 470 Seiten ist es den Autoren gelungen, den Leser bis ind ie 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 2010
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Shop der buecher.de GmbH & Co. KG Bürgermeister-Wegele-Str. 12, 86167 Augsburg Amtsgericht Augsburg HRA 13309