AstonJ

AstonJ

by Benjamin Tan Wei Hao

The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin with a quick overview of the Elixir language syntax, along with just enough functional programming to use it effectively. Then, you’ll dive straight into OTP and learn how it helps you build scalable, fault-tolerant and distributed applications through several fun examples.


About the technology

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.

About the book

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.

What’s inside

  • Covers Elixir 1.2 and 1.3
  • Introduction to functional concurrency with actors
  • Experience the awesome power of Erlang and OTP
  • About the reader
  • Written for readers comfortable with a standard programming language like Ruby, Java, or Python. FP experience is helpful but not required.

About the author

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.

Don’t forget you can get 35% off the ebook using the code ‘devtalk.com:023:

Showing Posts 1 to 10

drwolfe

drwolfe

Does anyone know if this book is still relevant for the current versions of Elixir? I have realised that the author has not updated his code base in about 2 years.

I have been burnt with Elm… bought a 0.18 book and its incompatible with 0.19 :(.

AstonJ

AstonJ OP

Can you believe I bought this book back when it was in beta and I still haven’t got around to reading it! :icon_redface:

@bentanweihao is a member here so am pinging him as he’d be the best person to answer your query for you :023:

erikmiller

erikmiller

One of the first books I read and it’s still very relevant. Otp hasn’t changed much, there are new mechanisms on top of it, but the fundamentals are all still there.

bentanweihao

bentanweihao

Author of The Little Elixir and OTP Guidebook

Ohai @drwolfe! Said author here. :D.

I don’t think there are going to be major changes in the code, primarily because I didn’t use anything particularly fancy. So in other words, but Elixir code is pretty basic and I don’t think there should be much changes.

I placed quite a bit of focus on how OTP works under the hood rather than “check out this cool syntactical feature!” (except pattern matching because pattern matching is cool).

Hope this makes sense.

11
Post #4
bentanweihao

bentanweihao

Author of The Little Elixir and OTP Guidebook

I have sooooo many books that I haven’t gotten around to read yet … Life is hard.

AstonJ

AstonJ OP

I’m on a mission to read all professionally published Elixir books so I am sure I will get around to it one day Ben! :lol: Sorry it’s taking me so long :icon_redface:

drwolfe

drwolfe

Thanks! I will be purchasing your book.

eksperimental

eksperimental

In my case, the code didn’t work out of the box with the latest Elixir versions if you want to avoid warnings and stick to the latest changes in Elixir. The most important change as far as I can remember is that Supervisor.Spec has been deprecated. There were so many changes, that some of the exercises were never finished, even I tried to port them. So, you have been warned.

drwolfe

drwolfe

Thank you.

david_ex

david_ex

I ran into similar challenges as you, so I wrote blog posts about the pool supervision chapter (i.e. pooly) with code updated to Elixir 1.6 which may be of interest to you (and @drwolfe when you get there).

Where Next? Top

Trending in Books Top

akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews