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

38 Mentors

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

8,552 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 Angelika Tyborska

Angelika Tyborska angelika.me

I'm a web developer. I work with Elixir, Ruby, and JavaScript. Elixir is my favorite because of its elegant syntax, great performance, pattern matching, and immutability. Let me help you make it your favorite too!
Avatar of Ian Fosbery

Ian Fosbery https://www.codeguy.io

I've been a programmer for over 15 years. I've really gotten into functional programming in recent years, which is how I've come to love Elixir so much. Concurrency, fp, the Erlang VM - what's not to love?!
Avatar of João Pedro de Carvalho

João Pedro de Carvalho https://github.com/sleepiejohn

I'm a Java guy during the days, Elixir and Rust by night, eager share ideas and take other's critics because there is no wrong question.
Avatar of Andreas Kammerloher

Andreas Kammerloher https://github.com/Odin94

I enjoy making things work elegantly more than just making them work and I consider myself a very honest and straightforward person. I value empathy and rational thinking. I enjoy learning about and debating ethics and philosophy. What I lack in formal education in these fields I make up for in curiosity and open-mindedness. I'm currently looking to get started with competitive programming and using Exercism to practice. I hope to accelerate people's progression through the Elixir track, as there is currently a huge lack in mentors and I'm sure it's frustrating people to wait many days for their code to be reviewed (although it does prepare us well for the realities of business :P).
Avatar of Sven Steinbauer

Sven Steinbauer https://github.com/Svenito

I'm a C++ and Python developer and am in the process of learning Elxir. I always feel that teaching is a great way to learn.
Avatar of Yauheni Tsiarokhin

Yauheni Tsiarokhin

functional programming enthusiast
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.

Forth
hard
parsers
Binary
easy
binary operators
math
Matrix
easy
string processing
structs
Triangle
easy
algorithms
Markdown
medium
refactoring
Raindrops
easy
conditionals

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

Join the Elixir Track