Get Advice Icon

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

ClojureScript

312
294
+ 1
2
Erlang

1.3K
749
+ 1
345
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.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of ClojureScript
Pros of Erlang
  • 2
    Functional and stable
  • 62
    Real time, distributed applications
  • 62
    Concurrency Support
  • 58
    Fault tolerance
  • 36
    Soft real-time
  • 32
    Open source
  • 22
    Message passing
  • 22
    Functional programming
  • 16
    Immutable data
  • 14
    Works as expected
  • 6
    Facebook chat uses it at backend
  • 5
    Practical
  • 5
    Knowledgeable community
  • 4
    Bullets included
  • 1
    WhatsApp uses it at backend

Sign up to add or upvote prosMake informed product decisions

Cons of ClojureScript
Cons of Erlang
    Be the first to leave a con
    • 1
      Languange is not popular demand

    Sign up to add or upvote consMake informed product decisions

    1.1K
    2.3K
    2K
    2.8K
    9.7K

    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.

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

    What companies use ClojureScript?
    What companies use Erlang?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    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

    Blog Posts

    GitGitHubDocker+34
    29
    42806
    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.
    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.
    TypeScript
    TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
    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’s syntax to express your application’s 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