Programming Erlang: Software for a Concurrent World (Pragmatic Programmers)

Programming Erlang: Software for a Concurrent World (Pragmatic Programmers)


A multi-user online game, website, cloud software, or networked database may have hundreds of thousands of clients all interacting while. you wish a strong, industrial-strength device to address the particularly tough difficulties inherent in parallel, concurrent environments. you would like Erlang. during this moment version of the bestselling Programming Erlang, you will methods to write parallel courses that scale without problems on multicore systems.

Using Erlang, you will be shocked at how effortless it turns into to house parallel difficulties, and what kind of swifter and extra successfully your courses run. that is simply because Erlang makes use of sets of parallel processes-not a unmarried sequential approach, as present in such a lot programming languages.

Joe Armstrong, writer of Erlang, introduces this robust language in small steps, providing you with a whole assessment of Erlang and the way to take advantage of it in universal situations. you will commence with sequential programming, movement to parallel programming and dealing with mistakes in parallel courses, and discover ways to paintings expectantly with dispensed programming and the traditional Erlang/Open Telecom Platform (OTP) frameworks.

You want no prior wisdom of practical or parallel programming. The chapters are filled with hands-on, real-world educational examples and insider counsel and suggestion, and end with routines for either starting and complex users.

The moment variation has been largely rewritten. New to this variation are seven chapters masking the newest Erlang gains: maps, the kind method and the Dialyzer, WebSockets, programming idioms, and a brand new stand-alone execution setting. you will write courses that dynamically become aware of and proper error, and that may be upgraded with no preventing the method. there is additionally insurance of rebar (the de facto Erlang construct system), and knowledge on the way to percentage and use Erlang initiatives on github, illustrated with examples from cowboy and bitcask.

Erlang will swap your view of the realm, and of ways you program.

What You Need

The Erlang/OTP approach. obtain it from erlang.org.

Show sample text content

Download sample