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
- Firecrawl
- Playwright
- OpenAPI Generator
- Pulumi
- Convex
- Temporal
- Protocol Buffers
- Inngest
- Open Policy Agent
- Appium
View 40 more
- River
- OpenJDK
- iText Core
- Apache PDFBox
- MuPDF
- Swagger Codegen
- Herb
- Apache Guacamole
- Clerk
- Selenium
- ironpress
- gRPC
- Tink
- Carbone
- Cloudinary
- Cadence
- Radar
- BugSnag
- Apache Kafka
- Jitsi Meet
- Tauri
- Adobe PDF Library
- Apache Casbin
- Superwall
- TrailBase
- MLflow
- Ktor
- RevenueCat
- Apache JMeter
- NVIDIA Dynamo-Triton
- OpenTelemetry
- Apache Camel
- OpenFeature
- Gatling
- GO Feature Flag
- Tolgee
- Firebase Cloud Messaging
- Stytch
- Oso Cloud
- Apache OpenDAL
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.
- Apache Groovy A flexible and extensible Java-like language for the JVM
- Common Lisp The programmable programming language
- Scala Expressive, scalable, safe
- Haskell Enjoy long-term maintainable software you can rely on
- Pony An open-source, object-oriented, actor-model, capabilities-secure, high-performance programming language
- Java The destination for Java developers
