Need advice about which tool to choose?Ask the StackShare community!
Common Lisp vs Groovy: What are the differences?
Common Lisp: The modern, multi-paradigm, high-performance, compiled, ANSI-standardized descendant of the long-running family of Lisp programming languages. Lisp was originally created as a practical mathematical notation for computer programs, influenced by the notation of Alonzo Church's lambda calculus. It quickly became the favored programming language for artificial intelligence (AI) research. As one of the earliest programming languages, Lisp pioneered many ideas in computer science, including tree data structures, automatic storage management, dynamic typing, conditionals, higher-order functions, recursion, and the self-hosting compiler. [source: wikipedia]; 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.
Common Lisp and Groovy can be primarily classified as "Languages" tools.
"Flexibility" is the primary reason why developers consider Common Lisp over the competitors, whereas "Java platform" was stated as the key factor in picking Groovy.
Groovy is an open source tool with 1.49K GitHub stars and 414 GitHub forks. Here's a link to Groovy's open source repository on GitHub.
Starbucks, Cask, and PedidosYa are some of the popular companies that use Groovy, whereas Common Lisp is used by Real Softservice, NG Informática, and Platform Project. Groovy has a broader approval, being mentioned in 79 company stacks & 73 developers stacks; compared to Common Lisp, which is listed in 5 company stacks and 3 developer stacks.
Pros of Common Lisp
- Flexibility24
- High-performance22
- Comfortable: garbage collection, closures, macros, REPL17
- Stable13
- Lisp12
- Code is data8
- Can integrate with C (via CFFI)6
- Multi paradigm6
- Lisp is fun5
- Macros4
- Easy Setup4
- Parentheses3
- Open source3
- Purelly functional3
- Elegant3
- DSLs1
- Multiple values1
- CLOS/MOP1
- Clean semantics1
- Will still be relevant 100 years from now1
- Still decades ahead of almost all programming languages1
- Best programming language1
- Simple syntax1
- Powerful1
- Generic functions1
- Can implement almost any feature as a library1
- Formal specification, multiple implementations1
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 Common Lisp
- Too many Parentheses4
- Standard did not evolve since 19943
- Small library ecosystem2
- No hygienic macros2
- Inadequate community infrastructure1
- Ultra-conservative community1
Cons of Groovy
- Groovy Code can be slower than Java Code3
- Absurd syntax1
- Objects cause stateful/heap mess1