← Retour au blog
tech 12 August 2026

Jolt: The Clojure Compiler Implemented with Chez Scheme

Discover Jolt, a self-hosted Clojure implementation running on Scheme, offering unmatched portability and efficiency without the need for a JVM.

Article inspired by the original source
Jolt: Clojure compiler implemented with Chez Scheme ↗ jolt-lang.github.io

Introduction

In the dynamic world of programming languages, Clojure has stood out for its simplicity and power. However, one of its limitations has been its dependency on the JVM. Enter Jolt, a self-hosted Clojure implementation that runs on Scheme, specifically using Chez and Gambit for JavaScript. This innovation changes the game by eliminating the need for a JVM while offering full Clojure compatibility and increased efficiency.

Why Jolt?

A Self-Hosted Architecture

Jolt is unique in its self-hosted approach. The compiler is written in Clojure and compiles Clojure code into a host-neutral Intermediate Representation (IR), which is then emitted in Scheme. This approach allows Jolt to run natively on Chez Scheme or be compiled to JavaScript via Gambit. The absence of a JVM or any intermediate build steps makes Jolt extremely portable.

Standalone Binaries

One of Jolt's major strengths is its ability to compile a project into a standalone binary. This includes the runtime, standard library, application, and its dependencies. The result is no need for Chez Scheme, a JVM, or source code to run the compiled application. This greatly simplifies deployment across various environments.

Key Features

Real Concurrency

Jolt offers real concurrency by leveraging OS threads, allowing futures, promises, agents, and pmap to execute efficiently. Additionally, the integration of core.async provides the use of channels and 'go' blocks, ensuring smooth concurrency management similar to JVM semantics.

Full Clojure Compatibility

Jolt supports all essential Clojure features, including lazy sequences, transducers, multimethods, protocols, and records. This ensures that Clojure code can run with little to no modifications.

Full Numeric Tower

With Jolt, you benefit from full support for exact integers, bignums, exact ratios, and flonum doubles. Category-aware and value equality is also effectively handled, enhancing calculation precision.

Quick Start

To get started with Jolt, simply install the standalone binary that includes everything you need: runtime, compiler, and standard library. Whether via Homebrew or an installation script for Linux and macOS, the setup is straightforward and direct.

```bash # Installation with Homebrew brew install jolt-lang/jolt/jolt

# Installation via script curl -sL https://raw.githubusercontent.com/jolt-lang/jolt/main/install | bash

# Running a simple expression jolt -e '(+ 1 2)' # => 3 ```

Conclusion

Jolt positions itself as an innovative solution for Clojure developers looking to break free from JVM constraints. With its ability to compile standalone binaries and full support for Clojure features, Jolt offers unmatched flexibility and efficiency. Let's discuss your project in 15 minutes.

Jolt Clojure Scheme Chez Scheme Gambit
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call