r/Clojure • u/yogthos • Aug 07 '26
Program images and portable Scheme backends for Jolt
https://yogthos.net/posts/2026-08-07-portable-jolt.html
40
Upvotes
r/Clojure • u/yogthos • Aug 07 '26
4
u/__tosh Aug 08 '26
very exciting!
for many languages this would be inconceivable, for clojure it's just quite some work
clojure reaches!
ad astra
3
u/dark-light92 Aug 08 '26
Watching the very fast progress of the project has been really interesting. I'm building something on top of jolt and it's been a really pleasant experience with minimal hiccups. The only real issue I encountered was due to stale compilation cache, but it was fixed the very next day.
If anyone is looking for a native Clojure implementation that remains faithful to JVM Clojure while not using JVM amounts of memory, you should really give Jolt at try. The killer feature is being able to access both the Clojure java ecosystem (malli, tick etc) as well as native C ecosystem via FFI. Everything gets bundled in a single small binary that you can ship with minimal dependencies.
This project really calls into question some of the assumptions and tautologies about the use of LLMs in programming. Of course, LLMs are also advancing at a rapid pace. We seem to be at a point where reliable software can be made through their agentic use. But it also means that there is going to be an explosion of slop in general. Pretty much the same thing as what the smartphone camera did to content creation.
2
u/Soft_Reality6818 Aug 09 '26
I wonder whether it would be possible to add conditions and restarts as well.
1
u/Soft_Reality6818 Aug 08 '26
Do you plan to add Scheme interop?
1
u/geokon Aug 09 '26
"you can just dump the whole state of the program at the time of the error to disk"
This sounds a lot like Janet is able to achieve.. Right? Though they take it further and its less of a "black box". You actually have a program (as far as i understand it.. I haven't really done anything serious with it)
I think more ergonomic tools for visually inspecting the current program state would probably help the whole debuggability problem. Having to poking at a black box is kind of the root of a lot of the frustrations - though this tool would help a lot :))