Download Erlang Programming by Simon Thompson, Francesco Cesarini PDF

April 4, 2017 | Programming | By admin | 0 Comments

By Simon Thompson, Francesco Cesarini

This ebook is an in-depth creation to Erlang, a programming language perfect for any state of affairs the place concurrency, fault tolerance, and speedy reaction is key. Erlang is gaining frequent adoption with the arrival of multi-core processors and their new scalable method of concurrency. With this advisor you'll tips on how to write advanced concurrent courses in Erlang, despite your programming history or event. Written by way of leaders of the overseas Erlang group -- and in accordance with their education fabric -- Erlang Programming specializes in the language's syntax and semantics, and explains development matching, right lists, recursion, debugging, networking, and concurrency. This ebook is helping you:

Understand the strengths of Erlang and why its designers integrated particular good points research the strategies in the back of concurrency and Erlang's method of dealing with it Write effective Erlang courses whereas conserving code neat and readable notice how Erlang fills the necessities for allotted structures upload basic graphical person interfaces with little attempt study Erlang's tracing mechanisms for debugging concurrent and disbursed structures Use the integrated Mnesia database and different desk garage features

Erlang Programming offers workouts on the finish of every bankruptcy and easy examples during the publication. You'll additionally locate an outline of an important libraries.

Show description

Read Online or Download Erlang Programming PDF

Best programming books

Scala in Depth


Scala intensive is a special new publication designed that will help you combine Scala successfully into your improvement approach. by means of featuring the rising most sensible practices and designs from the Scala group, it courses you thru dozens of strong strategies instance by way of example.
concerning the Book
Scala is a robust JVM language that blends the sensible and OO programming versions. You'll haven't any hassle getting introductions to Scala in books or on-line, yet it's challenging to discover nice examples and insights from skilled practitioners. You'll locate them in Scala in Depth.

There's little heavy-handed concept here—just dozens of crisp, sensible suggestions for coding in Scala. Written for readers who understand Java, Scala, or one other OO language.

Purchase comprises unfastened PDF, ePub, and Kindle eBooks downloadable at manning. com.
What's within* Concise, expressive, and readable code variety
* easy methods to combine Scala into your latest Java initiatives
* Scala's 2. eight. zero collections API
* how one can use actors for concurrent programming
* studying the Scala sort approach
* Scala's OO features—type member inheritance, a number of inheritance, and composition
* useful techniques and patterns—immutability, applicative functors, and monads

desk of Contents<ol>* Scala—a mixed language
* The center principles
* Modicum of style—coding conventions
* using item orientation
* utilizing implicits to put in writing expressive code
* the kind process
* utilizing implicits and kinds jointly
* utilizing the perfect assortment
* Actors
* Integrating Scala with Java
* styles in sensible programming

iOS 8 Swift Programming Cookbook

Solely rewritten for Apple’s fast programming language, this up to date cookbook is helping you conquer the vexing concerns you’re prone to face while growing apps for iOS devices.

You’ll locate 1000's of latest and revised recipes for utilizing the iOS eight SDK, together with recommendations for operating with health and wellbeing facts and HomeKit components, bettering and animating pics, storing and preserving info, sending and receiving notifications, and handling records and folders between them. each one recipe contains pattern code on GitHub for you to use immediately.

Formal Methods for Components and Objects: 7th International Symposium, FMCO 2008, Sophia Antipolis, France, October 21-23, 2008, State of the Art Survey ... Programming and Software Engineering)

All sleek industries depend on huge and intricate software program platforms. to be able to build such huge platforms in a scientific demeanour, the point of interest of the advance methodologies has switched within the final 20 years from practical to structural concerns. Formal tools were utilized effectively to the verification of medium-sized courses in protocol and layout.

Additional info for Erlang Programming

Sample text

For example, writing the following: Double = 2, Double = Double * Double would result in a runtime error, because Double is already bound to the integer 2. Trying to bind it to the integer 4 fails as it is already bound. As mentioned, the way around this feature is to bind the results in a fresh variable: Double = 2, NewDouble = Double * Double Single assignment of variables might feel awkward at first, but you’ll get used to it very quickly. It encourages you to write shorter functions and puts in place a discipline that often results in code with fewer errors.

Complex Data Structures When we refer to Erlang terms, we mean legal data structures. Erlang terms can be simple data values, but we often use the expression to describe arbitrarily complex data structures. In Erlang, complex data structures are created by nesting composite data types together. These data structures may contain bound variables or the simple and composite values themselves. An example of a list containing tuples of type person (tagged with the atom person) with the first name, surname, and a list of attributes would look like this: [{person,"Joe","Armstrong", [ {shoeSize,42}, {pets,[{cat,zorro},{cat,daisy}]}, {children,[{thomas,21},{claire,17}]}] }, {person,"Mike","Williams", [ {shoeSize,41}, {likes,[boats,wine]}] } ] Or, if we were to write it in a few steps using variables, we would do it like this.

Run queues on a multicore processor Case Studies Let’s start looking at how the features we just described have contributed to some of Erlang’s successes. Ericsson’s first major Erlang product was the AXD301 ATM switch; more recently, Erlang has been the key to implementing the CouchDB schema-free, document-oriented database. Finally, we report on a Motorola-based research project comparing the productivity of Erlang and C++ head on. The AXD301 ATM Switch The AXD301, a telephony-class 10–160 Gbps ATM switch, was designed and implemented from scratch in less than three years.

Download PDF sample

Rated 4.72 of 5 – based on 43 votes