Learn you some Erlang for great good! : a beginner's guide

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Erlang is the language of choice for programmers who want to write robust, concurrent applications, but its strange syntax and functional design can intimidate the uninitiated. Luckily, theres a new weapon in the battle against Erlang-phobia Learn You Some Erlang for Great Good!
Erlang maestro Fred Hebert starts slow and eases you into the basics Youll learn about Erlangs unorthodox syntax, its data structures, its type system (or lack thereof!), and basic functional programming techniques. Once youve wrapped your head around the simple stuff, youll tackle the real meat-and-potatoes of the language concurrency, distributed computing, hot code loading, and all the other dark magic that makes Erlang such a hot topic among todays savvy developers.
As you dive into Erlangs functional fantasy world, youll learn about
• Testing your applications with EUnit and Common Test
• Building and releasing your applications with the OTP framework
• Passing messages, raising errors, and starting/stopping processes over many nodes
• Storing and retrieving data using Mnesia and ETS
• Network programming with TCP, UDP, and the inet module
• The simple joys and potential pitfalls of writing distributed, concurrent applications
Packed with lighthearted illustrations and just the right mix of offbeat and practical example programs, Learn You Some Erlang for Great Good! is the perfect entry point into the sometimes-crazy, always-thrilling world of Erlang.

Author(s): Fred Hébert
Publisher: No Starch Press
Year: 2013

Language: English
Pages: xxii, 595 p.
City: San Francisco
Tags: Библиотека;Компьютерная литература;Erlang;


Content: ForewordPrefaceAcknowledgmentsIntroductionChapter 1: Starting OutChapter 2: ModulesChapter 3: Syntax in FunctionsChapter 4: Types (or Lack Thereof)Chapter 5: Hello Recursion!Chapter 6: Higher-Order FunctionsChapter 7: Errors and ExceptionsChapter 8: Functionally Solving ProblemsChapter 9: A Short Visit to Common Data StructuresChapter 10: The Hitchhiker's Guide to ConcurrencyChapter 11: More on MultiprocessingChapter 12: Errors and ProcessesChapter 13: Designing a Concurrent ApplicationChapter 14: An Introduction to OTPChapter 15: Rage Against the Finite-State MachinesChapter 16: Event HandlersChapter 17: Who Supervises the Supervisors?Chapter 18: Building an ApplicationChapter 19: Building Applications the OTP WayChapter 20: The Count of ApplicationsChapter 21: Release Is the WordChapter 22: Leveling Up in the Process QuestChapter 23: Buckets of SocketsChapter 24: EUnited Nations CouncilChapter 25: Bears, ETS, Beets: In-Memory NoSQL for Free!Chapter 26: DistribunomiconChapter 27: Distributed OTP ApplicationsChapter 28: Common Test for Uncommon TestsChapter 29: Mnesia and the Art of RememberingChapter 30: Type Specifications and DialyzerAfterwordOn Erlang's SyntaxColophonUpdates