talira

A robust, practical, and fast programming language

open sourceEPL-1.0free

Clojure is a dynamic, general-purpose Lisp that runs on the Java Virtual Machine, combining the interactive development of a scripting language with an efficient, robust infrastructure for multithreaded programming. It is a functional language built around immutable, persistent data structures, with first-class functions, protocols for runtime polymorphism and tools for concurrent programming. Code entered at the REPL or loaded is compiled to JVM bytecode on the fly, and ahead-of-time compilation is optional. Clojure uses Java's libraries directly; ClojureScript and ClojureCLR are its hosted dialects for JavaScript and .NET.

Libraries for Java and Kotlin

View 40 more

Browse all of them: 106 libraries, 27 frameworks, 153 APIs.

Problems it solves

  • a functional language on the JVM that can use every Java library
  • write concurrent programs without fighting locks and mutable state
  • develop interactively against a running program from my editor's REPL
  • a Lisp I can use for production backend services
  • model business data as plain immutable maps instead of class hierarchies
  • a dynamic language for data processing that still runs on the JVM's fast runtime

Features

  • Lisp with a REPL for interactive development
  • immutable persistent data structures
  • compiled to JVM bytecode on the fly, AOT optional
  • direct Java interop
  • protocols and datatypes for runtime polymorphism
  • concurrency primitives for multithreaded programs
  • ClojureScript and ClojureCLR for other hosts

Alternatives

The same job

These do what Clojure does.

  1. Apache Groovy A flexible and extensible Java-like language for the JVM
  2. Common Lisp The programmable programming language
  3. Scala Expressive, scalable, safe
  4. Haskell Enjoy long-term maintainable software you can rely on
  5. Pony An open-source, object-oriented, actor-model, capabilities-secure, high-performance programming language
  6. Java The destination for Java developers

Compare Clojure with the top 3