Elixir vs JavaScript

Get Advice Icon

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

Elixir
Elixir

1.6K
1.4K
+ 1
900
JavaScript
JavaScript

51.1K
37.7K
+ 1
7.4K
Add tool

Elixir vs JavaScript: 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; JavaScript: Lightweight, interpreted, object-oriented language with first-class functions. 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.

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

"Concurrency", "Functional" and "Erlang vm" are the key factors why developers consider Elixir; whereas "Can be used on frontend/backend", "It's everywhere" and "Lots of great frameworks" are the primary reasons why JavaScript is favored.

Elixir is an open source tool with 15.6K GitHub stars and 2.22K GitHub forks. Here's a link to Elixir's open source repository on GitHub.

Airbnb, Instagram, and reddit are some of the popular companies that use JavaScript, whereas Elixir is used by Poll Everywhere, NoRedInk, and Resultados Digitais. JavaScript has a broader approval, being mentioned in 5080 company stacks & 6472 developers stacks; compared to Elixir, which is listed in 177 company stacks and 190 developer stacks.

- No public GitHub repository available -

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

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

Why do developers choose Elixir?
Why do developers choose JavaScript?

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

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

What companies use Elixir?
What companies use JavaScript?

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

What tools integrate with Elixir?
What tools integrate with JavaScript?

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

What are some alternatives to Elixir and JavaScript?
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.
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.
See all alternatives
Decisions about Elixir and JavaScript
Sparker73
Sparker73
Frontend Developer · | 6 upvotes · 22.4K views
PHP
PHP
.NET
.NET
JavaScript
JavaScript
Node.js
Node.js

Node.js is my choice because it uses very few resources to run and it is capable to handle tons of connections simultaneously. Most developers already know JavaScript, the evolution of ECMAScript is immediately reflected to Node.js and all you have to do is update your Server's Node.js version without time and effort. Thousands of improvements that makes it very powerful especially in asynchronous programming. The web is full of courses, dev communities, free sample code, plunkers and many knowledge sources on Node.js that facilitates the learning curve. What else we can ask from a legendary language that is still evolving? I am learning Node.js by developing a simple REST WebAPI and using it as a playground to test situations in which the main objective is to challenge Node.js and compare results and performance with .NET implementations and certain well known fast PHP implementations. Until now the results are astonishing. Summarizing: Node.js for backend is so far (in my opinion) the most recommended solution to get positive achievements in size, speed, power, concurrency, scalability, deployment and running costs.

See more
Zach Holman
Zach Holman
JavaScript
JavaScript
Rails
Rails
Apollo
Apollo
React
React

Oof. I have truly hated JavaScript for a long time. Like, for over twenty years now. Like, since the Clinton administration. It's always been a nightmare to deal with all of the aspects of that silly language.

But wowza, things have changed. Tooling is just way, way better. I'm primarily web-oriented, and using React and Apollo together the past few years really opened my eyes to building rich apps. And I deeply apologize for using the phrase rich apps; I don't think I've ever said such Enterprisey words before.

But yeah, things are different now. I still love Rails, and still use it for a lot of apps I build. But it's that silly rich apps phrase that's the problem. Users have way more comprehensive expectations than they did even five years ago, and the JS community does a good job at building tools and tech that tackle the problems of making heavy, complicated UI and frontend work.

Obviously there's a lot of things happening here, so just saying "JavaScript isn't terrible" might encompass a huge amount of libraries and frameworks. But if you're like me, yeah, give things another shot- I'm somehow not hating on JavaScript anymore and... gulp... I kinda love it.

See more
ES6
ES6
JavaScript
JavaScript
Socket.IO
Socket.IO
Redis
Redis
MongoDB
MongoDB
HTML5
HTML5
FeathersJS
FeathersJS
Redux
Redux
React
React

I have always been interested in building a real-time multiplayer game engine that could be massively scalable, and recently I decided to start working on a MMO version of the classic "snake" game. I wanted the entire #Stack to be based on ES6 JavaScript so for the #Backend I chose to use FeathersJS with MongoDB for game/user data storage, Redis for distributed mutex and pub/sub, and Socket.IO for real-time communication. For the #Frontend I used React with Redux.js, the FeathersJS client as well as HTML5 canvas to render the view.

See more
Nicholas Rogoff
Nicholas Rogoff
at Avanade UK Ltd. · | 7 upvotes · 74.5K views
atNHS Digital (NHS.UK)NHS Digital (NHS.UK)
Visual Studio
Visual Studio
Visual Studio Code
Visual Studio Code
Newman
Newman
Postman
Postman
Azure DevOps
Azure DevOps
Git
Git