Elixir vs Erlang

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Elixir
Elixir

1.9K
1.8K
+ 1
990
Erlang
Erlang

467
435
+ 1
258
Add tool

Elixir vs Erlang: What are the differences?

Elixir: 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; Erlang: A programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of Erlang's uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance. OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems.

Elixir and Erlang can be categorized as "Languages" tools.

"Concurrency" is the top reason why over 124 developers like Elixir, while over 49 developers mention "Real time, distributed applications" as the leading cause for choosing Erlang.

Elixir and Erlang are both open source tools. Elixir with 15.6K GitHub stars and 2.22K forks on GitHub appears to be more popular than Erlang with 7.74K GitHub stars and 2.1K GitHub forks.

Poll Everywhere, NoRedInk, and Resultados Digitais are some of the popular companies that use Elixir, whereas Erlang is used by WhatsApp, Heroku, and thoughtbot. Elixir has a broader approval, being mentioned in 177 company stacks & 190 developers stacks; compared to Erlang, which is listed in 70 company stacks and 47 developer stacks.

What is Elixir?

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.

What is Erlang?

Some of Erlang's uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance. OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Elixir?
Why do developers choose Erlang?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Elixir?
    What companies use Erlang?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Elixir?
    What tools integrate with Erlang?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Elixir and Erlang?
    Go
    Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
    Clojure
    Clojure is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system.
    Ruby
    Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.
    Rust
    Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.
    Haskell
    See all alternatives
    Decisions about Elixir and Erlang
    StackShare Editors
    StackShare Editors
    Consul
    Consul
    Elixir
    Elixir
    Erlang
    Erlang

    Postmates built a tool called Bazaar that helps onboard new partners and handles several routine tasks, like nightly emails to merchants alerting them about items that are out of stock.

    Since they ran Bazaar across multiple instances, the team needed to avoid sending multiple emails to their partners by obtaining lock across multiple hosts. To solve their challenge, they created and open sourced ConsulMutEx, and an Elixir module for acquiring and releasing locks with Consul and other backends.

    It works with Consul’s KV store, as well as other backends, including ets, Erlang’s in-memory database.

    See more
    Sebastian Gębski
    Sebastian Gębski
    CTO at Shedul/Fresha · | 7 upvotes · 69.6K views
    atFresha EngineeringFresha Engineering
    Elixir
    Elixir
    Phoenix Framework
    Phoenix Framework
    Erlang
    Erlang
    Credo
    Credo
    Hex
    Hex
    AppSignal
    AppSignal

    Another major decision was to adopt Elixir and Phoenix Framework - the DX (Developer eXperience) is pretty similar to what we know from RoR, but this tech is running on the top of rock-solid Erlang platform which is powering planet-scale telecom solutions for 20+ years. So we're getting pretty much the best from both worlds: minimum friction & smart conventions that eliminate the excessive boilerplate AND highly concurrent EVM (Erlang's Virtual Machine) that makes all the scalability problems vanish. The transition was very smooth - none of Ruby developers we had decided to leave because of Elixir. What is more, we kept recruiting Ruby developers w/o any requirement regarding Elixir proficiency & we still were able to educate them internally in almost no time. Obviously Elixir comes with some more tools in the stack: Credo , Hex , AppSignal (required to properly monitor BEAM apps).

    See more
    Kamil Kowalski
    Kamil Kowalski
    Engineering Manager at Fresha · | 26 upvotes · 205.9K views
    atFresha EngineeringFresha Engineering
    Selenium
    Selenium
    Java
    Java
    Ruby
    Ruby
    Elixir
    Elixir
    JavaScript
    JavaScript
    Cypress
    Cypress

    When you think about test automation, it’s crucial to make it everyone’s responsibility (not just QA Engineers'). We started with Selenium and Java, but with our platform revolving around Ruby, Elixir and JavaScript, QA Engineers were left alone to automate tests. Cypress was the answer, as we could switch to JS and simply involve more people from day one. There's a downside too, as it meant testing on Chrome only, but that was "good enough" for us + if really needed we can always cover some specific cases in a different way.

    See more
    Interest over time
    Reviews of Elixir and Erlang
    Review ofElixirElixir

    i've give a try to Ruby, Crystal, Python and GO, and yeah, for web development i use Elixir-Phoenix, because idk why just amazing, my phoenix app is very stable (comparing to api that written in other language), Ruby is slow, Crystal has unstable API, GO, umm yeah, you need too complicated (i use golang for microservice)

    How developers use Elixir and Erlang
    Avatar of Provide Booking
    Provide Booking uses ElixirElixir

    Huge boon to productivity when coupled with Phoenix. Moreover, it has made background jobs and all the unseen aspects of a business easily abstracted.

    Avatar of Walter
    Walter uses ElixirElixir

    Knowledge collection, collation, and enrichment. Business logic.

    Avatar of Analytical Informatics
    Analytical Informatics uses ErlangErlang

    The central business logic and ETL engine is written in Erlang.

    Avatar of Mathias Vonende
    Mathias Vonende uses ErlangErlang

    Very nice programming language, used for backend integration.

    Avatar of Ruben Timmerman
    Ruben Timmerman uses ElixirElixir

    For some internal tools like our email deliverability monitor

    Avatar of Ryan Jennings
    Ryan Jennings uses ErlangErlang

    foundation VM for phoenix framework

    Avatar of Ryan Jennings
    Ryan Jennings uses ElixirElixir

    language used by phoenix framework

    Avatar of Software Joint
    Software Joint uses ErlangErlang

    Cowboy web server serves content

    Avatar of olenderhub
    olenderhub uses ElixirElixir

    Elixir and Phoenix are awesome.

    Avatar of KongHack Inc.
    KongHack Inc. uses ErlangErlang

    Custom plugins for ejabberd

    How much does Elixir cost?
    How much does Erlang cost?
    Pricing unavailable
    Pricing unavailable
    News about Erlang
    More news