Clojure vs Ruby: What are the differences?
Clojure: A dynamic programming language that targets the Java Virtual Machine. 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; Ruby: A dynamic, interpreted, open source programming language with a focus on simplicity and productivity. Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.
Clojure and Ruby belong to "Languages" category of the tech stack.
"It is a lisp", "Concise syntax" and "Persistent data structures" are the key factors why developers consider Clojure; whereas "Programme friendly", "Quick to develop" and "Great community" are the primary reasons why Ruby is favored.
Clojure and Ruby are both open source tools. It seems that Ruby with 15.9K GitHub stars and 4.25K forks on GitHub has more adoption than Clojure with 7.85K GitHub stars and 1.25K GitHub forks.
Airbnb, Square, and Codecademy are some of the popular companies that use Ruby, whereas Clojure is used by Groupon, Soundcloud, and Braintree. Ruby has a broader approval, being mentioned in 2530 company stacks & 1140 developers stacks; compared to Clojure, which is listed in 95 company stacks and 80 developer stacks.