Get Advice Icon

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

ClojureScript
ClojureScript

108
89
+ 1
2
Erlang
Erlang

414
343
+ 1
250
Add tool

ClojureScript vs Erlang: What are the differences?

ClojureScript: A Clojure compiler targeting JavaScript. ClojureScript is a compiler for Clojure that targets JavaScript. It is designed to emit JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler; 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.

ClojureScript and Erlang can be primarily classified as "Languages" tools.

ClojureScript and Erlang are both open source tools. ClojureScript with 8.12K GitHub stars and 724 forks on GitHub appears to be more popular than Erlang with 7.74K GitHub stars and 2.1K GitHub forks.

According to the StackShare community, Erlang has a broader approval, being mentioned in 70 company stacks & 47 developers stacks; compared to ClojureScript, which is listed in 24 company stacks and 17 developer stacks.

What is ClojureScript?

ClojureScript is a compiler for Clojure that targets JavaScript. It is designed to emit JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler.

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 ClojureScript?
Why do developers choose Erlang?

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

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

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

      What tools integrate with ClojureScript?
      What tools integrate with Erlang?

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

      What are some alternatives to ClojureScript and Erlang?
      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.
      Elm
      Writing HTML apps is super easy with elm-lang/html. Not only does it render extremely fast, it also quietly guides you towards well-architected code.
      TypeScript
      TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
      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.
      AngularJS
      AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML鈥檚 syntax to express your application鈥檚 components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
      See all alternatives
      Decisions about ClojureScript and Erlang
      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 39.7K 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
      C#
      C#
      Java
      Java
      JavaScript
      JavaScript
      ClojureScript
      ClojureScript
      Clojure
      Clojure

      I adopted Clojure and ClojureScript because:

      • it's 1 language, multiple platforms.
      • Simple syntax.
      • Designed to avoid unwanted side effects and bugs.
      • Immutable data-structures.
      • Compact code, very expressive.
      • Source code is data.
      • It has super-flexible macro.
      • Has metadata.
      • Interoperability with JavaScript, Java and C#.
      See more
      Interest over time
      Reviews of ClojureScript and Erlang
      No reviews found
      How developers use ClojureScript and Erlang
      Avatar of Lumanu
      Lumanu uses ClojureScriptClojureScript

      ClojureScript powers our user interface. Using the same language on the backend (Clojure) and the frontend has been a big win for us.

      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 Ryan Jennings
      Ryan Jennings uses ErlangErlang

      foundation VM for phoenix framework

      Avatar of Software Joint
      Software Joint uses ErlangErlang

      Cowboy web server serves content

      Avatar of KongHack Inc.
      KongHack Inc. uses ErlangErlang

      Custom plugins for ejabberd

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