Learn You Some Erlang for Great Good!: A Beginner's Guide

Learn You Some Erlang for Great Good!: A Beginner's Guide

by Fred Hebert


$44.96 $49.95 Save 10% Current price is $44.96, Original price is $49.95. You Save 10%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Wednesday, February 26
11 New & Used Starting at $15.85


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, there’s a new weapon in the battle against Erlang-phobia: Learn You Some Erlang for Great Good!

Erlang maestro Fred Hébert starts slow and eases you into the basics: You’ll learn about Erlang’s unorthodox syntax, its data structures, its type system (or lack thereof!), and basic functional programming techniques. Once you’ve wrapped your head around the simple stuff, you’ll 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 today’s savvy developers.

As you dive into Erlang’s functional fantasy world, you’ll 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.

Product Details

ISBN-13: 9781593274351
Publisher: No Starch Press
Publication date: 01/18/2013
Pages: 624
Sales rank: 1,171,378
Product dimensions: 7.00(w) x 9.20(h) x 1.80(d)

About the Author

Fred Hébert is a self-taught programmer who taught Erlang. He spent time working on a real-time bidding platform and was named Erlang User of the Year 2012, and has since joined the routing team at Heroku, building large scale production systems with Erlang. His online tutorial, Learn You Some Erlang for Great Good!, is widely regarded as the best way to learn Erlang.

Table of Contents

Foreword by Joe Armstrong
Chapter 1: Starting Out
Chapter 2: Modules
Chapter 3: Syntax in Functions
Chapter 4: Types (or Lack Therof)
Chapter 5: Hello Recursion!
Chapter 6: Higher-Order Functions
Chapter 7: Errors and Exceptions
Chapter 8: Functionally Solving Problems
Chapter 9: A Short Visit to Common Data Structures
Chapter 10: The Hitchhiker's Guide to Concurrency
Chapter 11: More on Multiprocessing
Chapter 12: Errors and Processes
Chapter 13: Designing a Concurrent Application
Chapter 14: An Introduction to OTP
Chapter 15: Rage Against the Finite-State Machines
Chapter 16: Event Handlers
Chapter 17: Who Supervises the Supervisors?
Chapter 18: Building an Application
Chapter 19: Building Applications the OTP Way
Chapter 20: The Count of Applications
Chapter 21: Release Is the Word
Chapter 22: Leveling Up in the Process Quest
Chapter 23: Buckets of Sockets
Chapter 24: EUnited Nations Council
Chapter 25: Bears, ETS, Beets: In-Memory NoSQL for Free!
Chapter 26: Distribunomicon
Chapter 27: Distributed OTP Applications
Chapter 28: Common Test for Uncommon Tests
Chapter 29: Mnesia and the Art of Remembering
Chapter 30: Type Specifications and Dialyzer
Appendix: On Erlang's Syntax

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Learn You Some Erlang for Great Good!: A Beginner's Guide 3 out of 5 based on 0 ratings. 1 reviews.
GeoffB72 More than 1 year ago
This book is meant to follow in the tradition of Learn you a Haskell for a great good, which was drawn from a series of web tutorials. That back was for enthusiasts and this one is too. In other words, if you have no familiarity with functional programming concepts and don't have an opinion about things like the pluses and minuses of threading in other languages, this book may move a little fast for you. On the other hand, it provides a thorough tour of what Erlang can do if you have started to wade in by following web tutorials and what to organize and expand upon what you've learned. If you heard that Erlang was the new old thing and want to check it out, start with Introducing Erlang.