Need advice about which tool to choose?Ask the StackShare community!
Erlang vs Groovy: What are the differences?
What is 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.
What is Groovy? A dynamic language for the Java platform. Groovy builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk. It makes modern programming features available to Java developers with almost-zero learning curve.
Erlang and Groovy can be primarily classified as "Languages" tools.
"Real time, distributed applications" is the primary reason why developers consider Erlang over the competitors, whereas "Java platform" was stated as the key factor in picking Groovy.
Erlang and Groovy are both open source tools. Erlang with 7.74K GitHub stars and 2.1K forks on GitHub appears to be more popular than Groovy with 1.49K GitHub stars and 414 GitHub forks.
According to the StackShare community, Groovy has a broader approval, being mentioned in 79 company stacks & 73 developers stacks; compared to Erlang, which is listed in 70 company stacks and 47 developer stacks.
Pros of Erlang
- Concurrency Support60
- Real time, distributed applications60
- Fault tolerance56
- Soft real-time35
- Open source31
- Functional programming21
- Message passing20
- Immutable data15
- Works as expected13
- Facebook chat uses it at backend5
- Practical4
- Knowledgeable community4
- Bullets included3
Pros of Groovy
- Java platform44
- Much more productive than java33
- Concise and readable29
- Very little code needed for complex tasks28
- Dynamic language22
- Nice dynamic syntax for the jvm13
- Very fast9
- Can work with JSON as an object7
- Easy to setup7
- Supports closures (lambdas)6
- Literal Collections6
- Syntactic sugar3
- Optional static typing3
- Developer Friendly2
Sign up to add or upvote prosMake informed product decisions
Cons of Erlang
Cons of Groovy
- Groovy Code can be slower than Java Code3
- Absurd syntax1
- Objects cause stateful/heap mess1