Programming language · 2012

Elixir

Programming language.

Official site ›
Elixir logo
Erlang, Elixir, BEAM VMWritten in
2012First released
José ValimDeveloper
dynamicTyping
Apache Software License 2.0License
Built from Elixir ErlangElixirBEAM VMRubyPythonScheme
BootstrapCompilerRuntimeInfluence

What is Elixir written in?

The Elixir compiler is written in Elixir (documented). Its runtime is implemented in BEAM VM and Erlang (well-documented). Elixir uses a bootstrap chain from Erlang (documented). Elixir is self-hosting.

What Elixir is used for

Elixir brings a modern, productive syntax to the battle-tested Erlang VM, making it a strong choice for highly concurrent, fault-tolerant web and real-time systems. The Phoenix framework is its flagship.

Notable software: Discord's real-time messaging infrastructure and many chat, IoT, and streaming back-ends.

Quick Facts

Designed by
José Valim
First released
2012
Typing
dynamic
License
Apache Software License 2.0
Filename extension
.ex, .exs
Website
elixir-lang.org

About Elixir

Elixir is a programming language. It is a dynamically typed and garbage-collected language that compiles to bytecode that runs on a virtual machine. It supports functional and concurrent programming. Compiling to bytecode for a virtual machine is the same model the JVM and .NET use: the VM, not the CPU, interprets or JIT-compiles the bytecode.

Elixir first appeared in 2012 and was designed by José Valim. Elixir keeps a steady, moderate following today.

How Elixir is implemented

In the Language Lineage dataset, Elixir is self-hosting, so its own compiler is written in Elixir itself, its runtime is implemented in BEAM VM and Erlang, and its toolchain was bootstrapped from Erlang. Reaching self-hosting, where a language is mature enough to compile itself, is a milestone that proves the language can handle a large, real-world program.

Elixir in the language family tree

Elixir drew on ideas from Scheme, Ruby, Erlang, and Python.

Sources: Wikipedia · Wikidata · Official site

Frequently Asked Questions

What language is Elixir written in?
Elixir is primarily implemented in Erlang and Elixir and BEAM VM. See the implementation section above for details and source references.
What languages influenced Elixir?
Elixir was influenced by Scheme, Ruby, Erlang among others. See the influence section above for the full list.
Is Elixir self-hosting?
Yes, Elixir is self-hosting, its compiler can compile itself.
When was Elixir first released?
Elixir was first released in 2012. It was designed by José Valim.

Evidence Sources

Discover More

Embed this graph

Paste this iframe into any HTML page to show the Elixir relationship graph.

<iframe src="https://www.languagelineage.org/embed?lang=elixir" width="100%" height="500" loading="lazy" style="border:0" title="Elixir relationship graph"></iframe>

Please attribute the visualization to Language Lineage and link to the Elixir source record.

Explore Elixir in Graph →