Crystal聽vs聽Elixir

Get Advice Icon

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

Crystal
Crystal

133
151
+ 1
216
Elixir
Elixir

1.6K
1.4K
+ 1
899
Add tool

Crystal vs Elixir: What are the differences?

Crystal: Fast as C, slick as Ruby. Crystal is a programming language that resembles Ruby but compiles to native code and tries to be much more efficient, at the cost of disallowing certain dynamic aspects of Ruby; 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.

Crystal and Elixir belong to "Languages" category of the tech stack.

"Compiles to efficient native code" is the primary reason why developers consider Crystal over the competitors, whereas "Concurrency" was stated as the key factor in picking Elixir.

Crystal and Elixir are both open source tools. It seems that Elixir with 15.6K GitHub stars and 2.22K forks on GitHub has more adoption than Crystal with 13.5K GitHub stars and 1.05K GitHub forks.

Resultados Digitais, NoRedInk, and Poll Everywhere are some of the popular companies that use Elixir, whereas Crystal is used by Bitupper, Diploid, and mose. Elixir has a broader approval, being mentioned in 177 company stacks & 190 developers stacks; compared to Crystal, which is listed in 7 company stacks and 14 developer stacks.

What is Crystal?

Crystal is a programming language that resembles Ruby but compiles to native code and tries to be much more efficient, at the cost of disallowing certain dynamic aspects of Ruby.

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.
Get Advice Icon

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

Why do developers choose Crystal?
Why do developers choose Elixir?

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

What companies use Crystal?
What companies use Elixir?

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

What tools integrate with Crystal?
What tools integrate with Elixir?

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

What are some alternatives to Crystal and Elixir?
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
See all alternatives
Decisions about Crystal and Elixir
StackShare Editors
StackShare Editors
Erlang
Erlang
Elixir
Elixir
Consul
Consul

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鈥檚 KV store, as well as other backends, including ets, Erlang鈥檚 in-memory database.

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

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
Interest over time
Reviews of Crystal and Elixir
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)

Review ofCrystalCrystal

i leaving php, node, and python cause i have a new love, crystal

How developers use Crystal and Elixir
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 Crystal cost?
How much does Elixir cost?
Pricing unavailable
Pricing unavailable