Download Erlang Programming by Simon Thompson, Francesco Cesarini PDF

By Simon Thompson, Francesco Cesarini

This ebook is an in-depth advent to Erlang, a programming language excellent for any state of affairs the place concurrency, fault tolerance, and quickly reaction is vital. Erlang is gaining frequent adoption with the arrival of multi-core processors and their new scalable method of concurrency. With this advisor you'll how one can write advanced concurrent courses in Erlang, despite your programming historical past or event.

Written through leaders of the foreign Erlang group -- and in line with their education fabric -- Erlang Programming makes a speciality of the language's syntax and semantics, and explains development matching, right lists, recursion, debugging, networking, and concurrency.

This e-book is helping you:

* comprehend the strengths of Erlang and why its designers integrated particular features
* research the suggestions in the back of concurrency and Erlang's approach of dealing with it
* Write effective Erlang courses whereas holding code neat and readable
* realize how Erlang fills the necessities for allotted systems
* upload basic graphical person interfaces with little effort
* study Erlang's tracing mechanisms for debugging concurrent and dispensed systems
* Use the integrated Mnesia database and different desk garage features

Erlang Programming offers routines on the finish of every bankruptcy and easy examples through the book.

Show description

Read or Download Erlang Programming PDF

Best programming books

OpenGL ES 2.0 Programming Guide

OpenGL ES 2. zero is the industry’s top software program interface and images library for rendering refined 3D snap shots on hand-held and embedded units. With OpenGL ES 2. zero, the complete programmability of shaders is now to be had on small and conveyable devices—including cellphones, PDAs, consoles, home equipment, and autos.

Flow-Based Programming: A New Approach To Application Development (2nd Edition)

Written by means of a pioneer within the box, it is a thorough consultant to the price- and time-saving benefits of Flow-Based Programming. It explains the theoretical underpinnings and alertness of this programming technique in sensible phrases. Readers are proven the best way to practice this programming in a couple of parts and the way to prevent universal pitfalls.

Objective-C Quick Syntax Reference

The Objective-C speedy Syntax Reference is a condensed code and syntax connection with the preferred Objective-C programming language, that is the center language at the back of the APIs present in the Apple iOS and Mac OS SDKs. It provides the basic Objective-C syntax in a well-organized layout that may be used as a convenient reference.

Object-Oriented Programming in C++ (4th Edition)

Object-Oriented Programming in C++ starts off with the elemental ideas of the C++ programming language and systematically introduces more and more complicated subject matters whereas illustrating the OOP method. whereas the constitution of this publication is the same to that of the former version, every one bankruptcy displays the newest ANSI C++ commonplace and the examples were completely revised to mirror present practices and criteria.

Additional resources for Erlang Programming

Sample text

By comparison, think of how you would achieve the same effect in C or Java. Another aspect of Erlang is that functions (or closures) are first-class data. They can be bound to a variable and can be treated just like any other data item: stored in a list, returned by a function, or communicated between processes. List comprehensions, also taken from the functional programming paradigm, combine list generators and filters, returning a list containing the elements of the list generators after the filters have been applied.

While the world is struggling to find methods to facilitate porting applications to multicore processors, Erlang applications can be ported with virtually no changes. Initially, Erlang was slow to spread; maybe it was too daring to introduce functional programming, lightweight concurrency, asynchronous message passing, and a unique method to handle failures, all in one go. It is easy to see why a language such as Java, which is only a small step away from C++, was easier for people to swallow. However, to achieve the goals I’ve just mentioned, we feel our approach has weathered the test of time.

The ASCII value representation of a newline, $\n, is 10: $a $A $\n The Erlang Shell Start an Erlang shell by typing erl at the command prompt in a Unix shell, or in Windows by clicking the Erlang icon in the Start menu. More details about obtaining and running Erlang are given in the Appendix. When you get the Erlang command prompt (of the form number>), try typing some integers in their various notations. ), and then press the Enter key: 1> −234. -234 2> 2#1010. 10 3> $A. 65If you do not type a full stop at the end of your input, the Erlang shell will not evaluate what you have typed and will continue to collect input until you type a terminating full stop and press Enter: 4> 5- 4> 4> 4.

Download PDF sample

Rated 4.76 of 5 – based on 21 votes