O'Reilly logo

Functional Programming: A PragPub Anthology by Michael Swaine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Concurrency Is the Core of Elixir

The functional aspects of Elixir are the most obvious external features. And they are what drew me to the language. But, after a while, you realize that they are really there to support the inherent concurrency in the environment.

And, for me, that’s been both the most difficult and the most rewarding aspect of adopting Elixir. Now, when I write code, I try to think of a decomposition not into objects, but rather into actors, or services. And given that Elixir can run literally millions of processes on even a modest laptop, these actors can be very fine-grained.

It’s an exciting time to be writing code, and Elixir is a gratifying language to use to write that code.

In Chapter 21, A Testing Framework for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required