Erlang and Elixir for Imperative Programmers
β Scribed by Wolfgang Loder (auth.)
- Publisher
- Apress
- Year
- 2016
- Tongue
- English
- Leaves
- 260
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Learn and understand Erlang and Elixir and develop a working knowledge of the concepts of functional programming that underpin them. This book takes the authorβs experience of taking on a project that required functional programming and real-time systems, breaks it down, and organizes it. You will get the necessary knowledge about differences to the languages you know, where to start, and where to go next.
Have you been told by your customer or manager that they heard good things about Erlang, you should use it for the next project? Never had to deal with functional programming or real-time systems? In 2014, the author, Wolfgang Loder, developed a repository for digital assets that had to deliver those assets in binary form quickly and reliably, being able to deal with at least hundreds of requests per second.
Since he could decide the architecture and software stack of the solution, he immediately thought of Erlang and its libraries and started to evaluate this option. It was not long after that he discovered Elixir, which sits on top of the Erlang virtual machine and has features more palatable for non-functional programmers, although it is a functional programming language itself.Erlang and Elixir for Imperative Programmers gives you a basis for deciding whether the effort is viable for your next project. This book is partly a tale of the author's own experience and partly a description of the bigger and more subtle differences between Erlang/Elixir and languages such as C++, Java, and C#.
What You'll Learn
- Discover functional programming, Erlang, and Elixir
- Work on service design and service features
- Set up your environment: deployment, development, and production
- Implement the service including public interface, asset processing, and deployment
- Use the patterns and concepts found in Erlang including type creation concepts and code structuring.
Who This Book Is For
Experienced and savvy programmers, coders, and developers new to Erlang and Elixir.
β¦ Table of Contents
Front Matter....Pages i-xviii
Front Matter....Pages 1-1
Imperative vs. Functional Programming....Pages 3-7
From Erlang to Elixir....Pages 9-10
Setting Your Mind....Pages 11-11
Front Matter....Pages 13-13
Service Overview and Design....Pages 15-18
Service Features....Pages 19-20
Front Matter....Pages 21-21
Environment and Deployment....Pages 23-31
Development Setup....Pages 33-75
Production Setup....Pages 77-85
Front Matter....Pages 87-87
Overview....Pages 89-109
Public Interface....Pages 111-143
Asset Processing....Pages 145-164
Deployment....Pages 165-168
Front Matter....Pages 169-169
Overview Patterns and Concepts....Pages 171-172
Functional Concepts....Pages 173-202
Type Creation Concepts....Pages 203-218
Code Structuring Concepts....Pages 219-232
Back Matter....Pages 233-256
β¦ Subjects
Programming Languages, Compilers, Interpreters;Programming Techniques
π SIMILAR VOLUMES
Learn and understand Erlang and Elixir and develop a working knowledge of the concepts of functional programming that underpin them. This book takes the authorβs experience of taking on a project that required functional programming and real-time systems, breaks it down, and organizes it. You will g
Property-based testing helps you create better, more solid tests with little code. By using the PropEr framework in both Erlang and Elixir, this book teaches you how to automatically generate test cases, test stateful programs, and change how you design your software for more principled and reliable
A multi-user game, web site, cloud application, or networked database can have thousands of users all interacting at the same time. You need a powerful, industrial-strength tool to handle the really hard problems inherent in parallel, concurrent environments. You need Erlang. In this second edition
You want to explore functional programming, but are put off by the academic feel (tell me about monads just one more time). You know you need concurrent applications, but also know these are almost impossible to get right. Meet Elixir, a functional, concurrent language built on the rock-solid Erlang