The Little Elixir & OTP Guidebook gets you started writing applications with Elixir and OTP. You'll begin with the immediately comfortable Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into several lighthearted examples that teach you to take advantage of the incredible functionality built into the OTP library.
Elixir is an elegant programming language that combines the expressiveness of Ruby with the concurrency and fault-tolerance of Erlang. It makes full use of Erlang's BEAM VM and OTP library, so you get two decades' worth of maturity and reliability right out of the gate. Elixir's support for functional programming makes it perfect for modern event-driven applications.
- Covers Elixir 1.2 and 1.3
- Introduction to functional concurrency with actors
- Experience the awesome power of Erlang and OTP
Written for learners comfortable with a standard programming language like Ruby, Java, or Python. FP experience is helpful but not required.
Benjamin Tan Wei Hao is a software engineer at Pivotal Labs, Singapore. He is also an author, a speaker, and an early adopter of Elixir.
Table of Contents
Getting started with Elixir and OTP
- A whirlwind tour
- Processes 101
- Writing server applications with GenServer
Fault tolerance, supervision, and distribution
- Concurrent error-handling and fault tolerance with links, monitors, and processes
- Fault tolerance with Supervisors
- Completing the worker-pool application
- Distribution and load balancing
- Distribution and fault tolerance
- Dialyzer and type specifications
- Property-based and concurrency testing
PLEASE NOTE: When you purchase this title, the accompanying reference material will be available in your Library section along with the audio.