LIVE

Jolt Brings Clojure Semantics to C and Scheme Without the JVM

🤖 AI Models 1 min read 👁 8

A new project called Jolt allows developers to run Clojure code compiled ahead-of-time into standalone executables via Scheme, bypassing the Java Virtual Machine while enabling direct C library integration.

🤖AI Models

Key points

  • Jolt compiles Clojure code ahead-of-time into a single self-contained binary via Scheme.
  • The tool bypasses the JVM entirely while maintaining core Clojure semantics and concurrency features.
  • Developers can bind C shared libraries directly and compile dependencies statically.

A newly introduced tool named Jolt enables developers to execute Clojure-style programs without depending on the Java Virtual Machine. By translating Clojure code into a host-neutral intermediate representation and emitting Scheme, the system can run natively on Chez or compile down to JavaScript using Gambit. The self-hosting compiler bundles the runtime, standard library, and compiler into a single standalone binary.

The platform supports major Clojure features, including persistent collections, lazy sequences, transducers, protocols, macros, and concurrency primitives like agents and core.async channels. Furthermore, it introduces a straightforward mechanism to bind C shared libraries directly, allowing applications to link dependencies statically without requiring the original source code at runtime.

What to watch next: Monitor community adoption and performance benchmarks of Jolt-compiled applications compared to traditional JVM-based Clojure deployments.

Source Hacker News Front Page — jolt-lang.net/ ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.