Jump to content

Elixir (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pesnk (talk | contribs) at 04:34, 12 January 2013 (Created page with '{{Infobox programming language | name = Elixir | paradigm = Multi-paradigm: functional ...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Elixir
ParadigmMulti-paradigm: functional
First appeared2011
Stable release
0.7.2
PlatformErlang
LicenseApache License
Filename extensions.ex
Websitewww.elixir-lang.org

Elixir is a functional meta-programming aware language built on top of the Erlang VM. It is a dynamic language with flexible syntax with macros support that leverages Erlang's abilities to build concurrent, distributed, fault-tolerant applications with hot code upgrades.

Elixir also supports polymorphism via protocols (similar to Clojure's), dynamic records, aliases and first-class support to associative data structures (usually known as dicts or hashes in other programming languages).

Finally, Elixir and Erlang share the same bytecode and data types. This means you can invoke Erlang code from Elixir (and vice-versa) without any conversion or performance hit. This allows a developer to mix the expressiveness of Elixir with the robustness and performance of Erlang.