Clojure vs Hack: What are the differences?
Developers describe Clojure as "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. On the other hand, Hack is detailed as "A programming language for HHVM that interoperates seamlessly with PHP". Hack provides instantaneous type checking via a local server that watches the filesystem. It typically runs in less than 200 milliseconds, making it easy to integrate into your development workflow without introducing a noticeable delay.
Clojure and Hack can be categorized as "Languages" tools.
"It is a lisp" is the top reason why over 96 developers like Clojure, while over 5 developers mention "Interoperates seamlessly with php" as the leading cause for choosing Hack.
Clojure is an open source tool with 7.85K GitHub stars and 1.25K GitHub forks. Here's a link to Clojure's open source repository on GitHub.
CircleCI, Groupon, and Soundcloud are some of the popular companies that use Clojure, whereas Hack is used by Facebook, Slack, and Wizters. Clojure has a broader approval, being mentioned in 95 company stacks & 80 developers stacks; compared to Hack, which is listed in 8 company stacks and 3 developer stacks.