Jolt: Clojure compiler implemented with Chez Scheme

(jolt-lang.github.io)

109 points | by mark_l_watson 3 days ago

13 comments

  • davexunit 15 minutes ago
    This appears to be vibecoded but not disclosed as such. 2k commits from a single author starting from June 1st with really long commit messages and source code comments. The GitHub org has 19 additional projects that are all recently created.

    edit: Yup, found a very long blog post that says it's made with LLMs near the end https://yogthos.net/posts/2026-07-02-jolt.html

  • phforms 21 minutes ago
    As a more-or-less neutral observation (I still kind-of like the project): What I find curious - perhaps a sign of these times: After just 2-3 months in development (judging from the repo commits, obviously I have no insight into what came before), the developer already communicates Jolt as a feature-complete, polished (perhaps even mature) Clojure dialect with multiple Jolt-adapted libraries from JVM-Clojure, FFI, Fibers, already with a professional looking and marketing-focussed website, detailled documentation, nREPL support, etc. Things I wouldn’t expect so soon from a language developed (mostly?) by a single person in such an early release stage.

    I don’t know how to get a feeling about the actual state of projects like this anymore, so I always remain a bit suspicious. In Clojure, there is the (Rich Hickey inspired) design philosophy of “hammock driven development”, where we don’t rush things, let them simmer while lying in the hammock, sleeping on them, taking a walk, etc. Makes me wonder if projects like this are too rushed these days without thinking things through, discussing design decisions and getting ideas from other people, letting them mature over time. This isn’t specifically about Jolt (I don’t know much about it or its creator), it just inspired the thought, especially when comparing it to projects like Jank which has been years in development, with lots of feedback from the community and Clojure core maintainers as input.

    • davexunit 10 minutes ago
      You're right to be suspicious: it's slop.
  • phtrivier 2 hours ago
    How much does this overlap / complements something like jank ? [1]

    How much "production ready" / "battle tested" would this be ?

    (Not to start a flame war, I'm genuinely curious about the differences.)

    [1] https://github.com/jank-lang/jank

    • Jeaye 27 minutes ago
      I am the creator of jank. I am also not interested in a flame war.

      The key differentiator for jank is the seamless C++ interop, which is a problem not many people are willing to tackle, due to its scope and complexity. jank is a novel approach to this, providing incredible JIT and AOT support of arbitrary C++ libraries alongside your Clojure code, including a Cargo-inspired native build system for building your native deps along with your program (or finding them in the installed system).

      For some people, there is another key differentiator, which is the amount of AI-generated code involved. My understanding is that Jolt and other newer dialects like Glojure have a lot of spunk and are exploring new ideas, given the velocity that AI-driven coding can provide. I don't see jank ever being categorized in that way.

    • yogthos 54 minutes ago
      I have a slightly different goal from Jank because my goal is to provide a runtime that supports existing Clojure libraries. I've spent the time to map out Java standard library APIs that popular libraries use and to create shims on top of Chez that allows them to run seamlessly. You can see a list of libraries that are fully tested and officially supported here. https://jolt-lang.github.io/docs/libraries.html

      On top of that, I expose the API for creating shims in user space, so people can easily add their own for the libraries they want to use that might not be covered in the core. And I leverage this functionality myself to create libraries for JDBC layer or crypto that rely on doing FFI to shared system libraries that aren't part of the core runtime.

      In terms of how production ready Jolt is, it's still fairly new obviously, so there will inevitably be bugs. However, it already passes full https://github.com/jank-lang/clojure-test-suite from Jank, and has its own conformance corpus https://github.com/jolt-lang/jolt/blob/main/test/chez/corpus... which is a superset of that. On top of that, I'm now able to run original test suites for the libraries I support and compare them with JVM outputs to ensure there aren't unintended divergences.

      The other side of it is the benchmark harness which I use to ensure performance stays reasonably close to the JVM, in most cases it's within 1.x, and the worst case is around 6x right now. https://github.com/jolt-lang/jolt/tree/main/bench

      So, Jolt basically aims to be a drop in JVM replacement for running existing Clojure code.

  • nucleogenesis 3 hours ago
    What a wonderful excuse to dive back into Clojure! This looks fantastic. I wonder what neat stuff might be made in Clojure thanks to a C FFI that wasn’t doable on top of the JVM.
    • pjmlp 3 hours ago
      Note that nowadays with Panama, there are more FFI opportunities in JVM implementations as well.

      Although it is rather verbose, and it is easier to have a C header and run jextract on it, instead of the manual boilerplate.

      No idea how well AI tooling would manage.

    • busterarm 3 hours ago
      I've been diving back into Clojure just recently and this will be something I'll be trying to use immediatley.
  • smartmic 2 hours ago
    Besides this and jank, there is also Janet; playing in the league of Lisp to standalone binaries. It’s also cool!

    https://janet-lang.org/

  • kccqzy 3 hours ago
    I understand some don’t like having a JVM, but for running in the browser, what does Jolt on Gambit offer over plain ClojureScript?
    • yogthos 51 minutes ago
      Oh I would definitely recommend ClojureScript or Squint for running in the browser. Using Gambit to compile to Js was really just an illustration of how Jolt has a portable layer that can be compiled to a completely different Scheme backend. I don't really intend to compete with the existing frontend solutions because you really want to keep your dialect as light as possible to minimize the size and friction with the existing Js ecosystem.
  • dharmatech 58 minutes ago
    See also lg which is a clojure implemented in go:

    https://github.com/nooga/let-go

    Fun fact. It also runs on plan9:

    https://github.com/nooga/legmacs/issues/1

  • pmkary 3 hours ago
    How many years have it been there? My memory reminds me of Jolt but I very hardly remember what was it, all I remember is that it was a LISP.
    • taolson 3 hours ago
      You're probably thinking of Ian Piumarta's COLA project (Combined Object Lambda Architecture), which had parts named after cola soft-drinks (Coke was a lisp-like language, Pepsi was a Smalltalk-like language, and Jolt was an early implementation of Coke):

      https://www.piumarta.com/software/cola/

  • mark_l_watson 3 days ago
    I just saw this - works great to build small self contained apps. (I just tested on macOS, also supports Linux).
    • mark_l_watson 3 days ago
      Clojure hosted on Chez Scheme (same as Racket). So cool. I tried building a standalone executable for the Chess game in my Clojure book using "jolt build -m chess-game.cli -o chess_jolt" and it simply worked great.

      I tried again with a datomic demo and it needed the source code to the open source version of datomic, so I need to do some work on that.

      • eggy 3 hours ago
        Curious about the executable size and performance. Mark, you started me on AI with your, "Common LISP Modules: Artificial Intelligence in the Era of Neural Networks and Chaos Theory". I have never been able to fully leave Lisp behind. I'll have to try this on my linux box. What's your take on using jolt practically for work vs. learning? Thanks!
  • pjmlp 3 hours ago
    Nice to see further adoption from Chez Scheme.

    Have to give it a try.

  • yogthos 4 hours ago
    Author here, glad to answer any questions about Jolt.
    • iainctduncan 1 hour ago
      Congrats, this is awesome! I have followed your writing and have your book, so was excited to see this was you.

      I have one question, can one drop into Scheme the way one can call Java in clojure, or is one totally firewalled from the underlying Scheme implementation?

      Great to see Gambit getting love too. Gambit and Chez are amazing achievements.

    • micro2588 3 hours ago
      Awesome work, have you looked into using Racket's fork of Chez? It supports some additional extensions and architectures from base Chez that would seem to beneficial as a compiler target, at least that was the case a couple years ago.
      • yogthos 3 hours ago
        Thanks, and I have good news on that front actually. I recently factored out a portable Scheme layer and got Jolt to compile against Gambit as a backend. And given that Racket is basically an extension of Chez, it should be trivial to build against it now.

        I wrote up a post on how this works here https://yogthos.net/posts/2026-08-07-portable-jolt.html

        • micro2588 3 hours ago
          Really cool, I see now that most all the the Racket extensions to Chez have been up-streamed which is positive for the health of both projects.
          • yogthos 3 hours ago
            Indeed, it's a nice ecosystem to be part of. :)
  • tosh 3 hours ago
    it's good to have even more (and more slim!) ways to run Clojure

    (not just JVM and JavaScript runtimes)

  • ivanjermakov 4 hours ago
    • eggy 3 hours ago
      What does this have to do with Jolt, the Clojure compiler other than in name? Is there a port to Clojure or other connection?
      • Ohentis 3 hours ago
        I think the name being the same is worth bringing up. Ideally you would avoid name collisions with big projects but admittedly it does happen all the time.
        • pjmlp 3 hours ago
          There are other collisions, like Jolt computer, Dr Dobbs Jolt awards.

          However to be fair, none of it came to mind when I saw the title.