Get Advice Icon

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

Elixir
Elixir

1.5K
1.3K
+ 1
899
Ruby
Ruby

12.2K
6.7K
+ 1
3.8K
Add tool

Elixir vs Ruby: 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; Ruby: A dynamic, interpreted, open source programming language with a focus on simplicity and productivity. 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.

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

"Concurrency", "Functional" and "Erlang vm" are the key factors why developers consider Elixir; whereas "Programme friendly", "Quick to develop" and "Great community" are the primary reasons why Ruby is favored.

Elixir and Ruby are both open source tools. It seems that Ruby with 15.9K GitHub stars and 4.25K forks on GitHub has more adoption than Elixir with 15.6K GitHub stars and 2.22K GitHub forks.

According to the StackShare community, Ruby has a broader approval, being mentioned in 2530 company stacks & 1140 developers stacks; compared to Elixir, which is listed in 177 company stacks and 190 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 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.
Get Advice Icon

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

Why do developers choose Elixir?
Why do developers choose Ruby?

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

What are the cons of using Elixir?
What are the cons of using Ruby?

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

What companies use Elixir?
What companies use Ruby?

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

What tools integrate with Elixir?
What tools integrate with Ruby?

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

What are some alternatives to Elixir and Ruby?
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.
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.
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.
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 Ruby
No stack decisions found
Interest over time
Reviews of Elixir and Ruby
Avatar of kfretwell33
Founder at Pouch
Review ofRubyRuby

I taught myself Ruby about a year ago. I had experience with HTML/CSS, MySQL, and a little bit of javascript and python but would consider this my first true programming language I became proficient in (later picked up Swift).

I started with a CodeAcademy course before working on my first Rails project. The language is easy to read and Rails is an amazing framework. The online community is fantastic, the documentation is amazing, and there is no shortage of Ruby Gems which allows you to quickly "cobble" together a new project.

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 Ruby
Avatar of StackShare
StackShare uses RubyRuby

Only thing worth noting here is that we saw some major issues with memory swapping on Heroku with Ruby 2.1.2. We weren’t the only ones. So we actually reverted back to 2.0.0. Here’s what happened: reverting. We’re planning to upgrade to 2.1.4 once we’ve had time to test thoroughly.

Avatar of benyomin
benyomin uses RubyRuby

When we are comparing Turing complete languages it's not about what compiles faster or to the cleanest machine code, it's about what the developer can think in and write faster, including the availability of libraries. A couple of times I wrote some ruby scripts for this project. I just like the language best for some things. Love the syntax.

Avatar of SaberEsPoder
SaberEsPoder uses RubyRuby

We are primarily a Ruby shop; our main apps are running on Ruby + Rails, our Slack bot is written in Ruby and our smaller projects are on Sinatra. It makes it really easy for us to re-use code and switch between different projects since they are all on the same language.

Avatar of Tim Lucas
Tim Lucas uses RubyRuby

Because happiness. Testing via RSpec (mostly model and request specs), Factory Girl for fixtures, VCR for testing API responses, timecop, Redcarpet for Markdown rendering, Intercom gem for posting events.

Avatar of Karma
Karma uses RubyRuby

Most of our services are written in Ruby. We started out as a Ruby shop, but we're slowly also moving some stuff to Go. We're using Go more and more these days, actually, including some backend services.

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 Ruben Timmerman
Ruben Timmerman uses ElixirElixir

For some internal tools like our email deliverability monitor

Avatar of Ryan Jennings
Ryan Jennings uses ElixirElixir

language used by phoenix framework

Avatar of olenderhub
olenderhub uses ElixirElixir

Elixir and Phoenix are awesome.

How much does Elixir cost?
How much does Ruby cost?
Pricing unavailable
Pricing unavailable