Need advice about which tool to choose?Ask the StackShare community!
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.
Pros of ClojureScript
- Functional and stable2
Pros of Erlang
- Real time, distributed applications62
- Concurrency Support62
- Fault tolerance58
- Soft real-time36
- Open source32
- Message passing22
- Functional programming22
- Immutable data16
- Works as expected14
- Facebook chat uses it at backend6
- Practical5
- Knowledgeable community5
- Bullets included4
- WhatsApp uses it at backend1
Sign up to add or upvote prosMake informed product decisions
Cons of ClojureScript
Cons of Erlang
- Languange is not popular demand1