Elixir

Join the Elixir Track
Elixir is a dynamic, functional language designed for building scalable and maintainable applications. Elixir leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain.
Join the Elixir Track
Track mentors

40 Mentors

Our mentors are friendly, experienced Elixir developers who will help teach you new techniques and tricks.
Track students

9,001 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

92 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About Elixir

defmodule HelloWorld do

  @doc """
  Greets the user by name, or by saying
  "Hello, World!" if no name is given
  """
  def hello(name \\ "World") do
    "Hello, #{name}!"
  end
end

Elixir, initially released in 2012, extends upon the already robust features of Erlang while also being easier for beginners to access, read, test, and write.

José Valim, the creator of Elixir, explains here how he built the language for applications to be:

  1. Distributed
  2. Fault-Tolerant
  3. Soft-Real-Time
  4. Hot-Code-Swapped (can introduce new code without stopping the server)

Elixir actually compiles down to bytecode and then runs on the BEAM Erlang Virtual Machine.

There is no "conversion cost" for calling Erlang, meaning you can run Erlang code right next to Elixir code.

Being a functional language, everything in Elixir is an expression.

Elixir has "First Class Documentation" meaning comments can be attached to a function, making it easier to retrieve.

Regular expressions are also given first class treatment, removing awkward escaping within strings.

Elixir's asynchronous communication implementation allows the code to be lightweight, yet incorporate high-volume concurrency.

Programmers use Elixir to handle thousands of requests and responses concurrently on a single server node.

It has been used successfully for microservices that need to consume and serve a multitude of APIs rapidly.

The Phoenix framework helps structure Elixir applications for the web.

Join the Elixir track

Self-contained finite problems with which to learn the language

I have spent time with the Clojure, Elixir & Go tracks and all have been incredibly beneficial, providing self-contained finite problems with which to learn the language. The Go language track has been wonderful in introducing me to the language, what idiomatic code is, and the many different ways in which one can solve a problem.

Relaxed. Encouraging. Supportive.

Meet the Elixir Track mentors

Once you join the Elixir language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Adam Skołuda

Adam Skołuda https://github.com/Skoda091

I am a cheerful guy who really enjoys programming, speaking and extending knowledge. I have been working commercially with Elixir since March 2017. I am thrilled to help.
Avatar of Yeong Sheng, Tan

Yeong Sheng, Tan https://github.com/yeongsheng-tan

I chanced upon Elixir back in early 2014 when we were looking out for a replacement stack that is as pleasant and productive to work in as Ruby, while giving us the reliability and fault-tolerance of Erlang, without having to add too much external dependencies to scale out our Ruby stack product.
Avatar of Byron Anderson

Byron Anderson Byron's Programming Blog

Elixir is the language that I want to be using. Pattern matching + `with` + processes, oh my! It makes me excited to program again!
Avatar of Tonći Galić

Tonći Galić https://github.com/Tuxified

[:polyglot, :rower, :beerlover, :father] |> Stream.cycle
Avatar of Daniel Couper

Daniel Couper https://github.com/DanCouper

I'm a programmer working [mainly] with Elixir codebases. It's the first (and still the only) language I've learnt where everything Just Clicked. Beautiful underlying system, best-in-class tooling, best-in-class documentation.
Avatar of Gabriele Lana

Gabriele Lana https://github.com/gabrielelana

Software craftsman, clean code disciple, Elixir/Erlang, Elm, Ruby, Rust, JavaScript, quantified self geek, Emacs all the things, 20 years on the field and still love it.
Fun. Challenging. Interesting

Community-sourced Elixir exercises

These are a few of the 92 exercises on the Elixir track. You can see all the exercises here.

Isogram
easy
reduce
algorithms
Series
easy
string processing
Sieve
medium
enumeration
math
Forth
hard
parsers
Pythagorean Triplet
medium
reduce
algorithms
math
Largest Series Product
medium
enumeration
recursion
math

Get started with the Elixir track. As with everything on Exercism, it's 100% free!

Join the Elixir Track