Programming Erlang
eBook - ePub

Programming Erlang

  1. 546 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Programming Erlang

About this book

Using Erlang, you'll be surprised at how easy it becomes to deal with parallel problems, and how much faster and more efficiently your programs run. That's because Erlang uses sets of parallel processes —not a single sequential process, as found in most programming languages.

Joe Armstrong, creator of Erlang, introduces this powerful language in small steps, giving you a complete overview of Erlang and how to use it in common scenarios. You'll start with sequential programming, move to parallel programming and handling errors in parallel programs, and learn to work confidently with distributed programming and the standard Erlang/Open Telecom Platform ( OTP ) frameworks.

You need no previous knowledge of functional or parallel programming. The chapters are packed with hands-on, real-world tutorial examples and insider tips and advice, and finish with exercises for both beginning and advanced users.

The second edition has been extensively rewritten and covers Erlang R17 features. New to this edition are seven chapters covering the latest Erlang features: maps, the type system and the Dialyzer, WebSockets, programming idioms, and a new stand-alone execution environment. You'll write programs that dynamically detect and correct errors, and that can be upgraded without stopping the system. There's also coverage of rebar (the de facto Erlang build system), and information on how to share and use Erlang projects on github, illustrated with examples from cowboy and bitcask.

Erlang will change your view of the world, and of how you program.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Programming Erlang by Joe Armstrong in PDF and/or ePUB format, as well as other popular books in Computer Science & Software Development. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Programming Erlang, Second Edition
  2. For the Best Reading Experience...
  3. Table of Contents
  4. Early Praise for Programming Erlang, Second Edition
  5. Introduction
  6. Part 1: Why Erlang?
  7. Chapter 1: Introducing Concurrency
  8. Chapter 2: A Whirlwind Tour of Erlang
  9. Part 2: Sequential Programming
  10. Chapter 3: Basic Concepts
  11. Chapter 4: Modules and Functions
  12. Chapter 5: Records and Maps
  13. Chapter 6: Error Handling in Sequential Programs
  14. Chapter 7: Binaries and the Bit Syntax
  15. Chapter 8: The Rest of Sequential Erlang
  16. Chapter 9: Types
  17. Chapter 10: Compiling and Running Your Program
  18. Part 3: Concurrent and Distributed Programs
  19. Chapter 11: Real-World Concurrency
  20. Chapter 12: Concurrent Programming
  21. Chapter 13: Errors in Concurrent Programs
  22. Chapter 14: Distributed Programming
  23. Part 4: Programming Libraries and Frameworks
  24. Chapter 15: Interfacing Techniques
  25. Chapter 16: Programming with Files
  26. Chapter 17: Programming with Sockets
  27. Chapter 18: Browsing with Websockets and Erlang
  28. Chapter 19: Storing Data with ETS and DETS
  29. Chapter 20: Mnesia: The Erlang Database
  30. Chapter 21: Profiling, Debugging, and Tracing
  31. Chapter 22: Introducing OTP
  32. Chapter 23: Making a System with OTP
  33. Part 5: Building Applications
  34. Chapter 24: Programming Idioms
  35. Chapter 25: Third-Party Programs
  36. Chapter 26: Programming Multicore CPUs
  37. Chapter 27: Sherlock’s Last Case
  38. Appendix 1: OTP Templates
  39. Appendix 2: A Socket Application
  40. Appendix 3: A Simple Execution Environment