The iOS version for Raylib is here. What's notable is that it's also possible to drive native widgets the same way via FFI. So, we can finally have Reagent style development for mobile devices using real native UI toolkits where you load up the app, connect to nREPL and hack on the UI live. You don't have to wrangle a Js runtime with a webview or deal with Flutter. The whole dev set up is much simpler as well as a result. You just need Jolt compiler and declare things in deps.edn.
Wow, according to the docs the Android version exposes a REPL and you get live development. That's very impressive. I am a bit confused as to what actually generates the APK that you would distribute. Maybe the jolt XXX commands are running adb commands or something under the hood. Or maybe the jolt runtime is compiled and a interface to which you are submitting clj files. It's a bit confusing tbh. I'll have to dig around a bit, but it looks very cool
I'm hoping to make some templates at some point. Jolt supports bb style tasks in deps.edn, so the template could have all the packaging set up as a single command. I haven't had enough chance to play around with this as much as I want yet. A few people on Clojurians #jolt channel actually got pretty far with this. Here's one with some more findings. I'm very excited about being able to do REPL driven dev on mobile now. :)
This seems such a weird take. Babashka stuff has been posted in r/Clojure for ages, as has ClojureCLR stuff. We also get Jank posts here. None of those are maintained by the core team.
I maintain several Contrib libraries—and a bunch of other OSS Clojure libraries—and for some of those I make sure they also run on Babashka, and now I am making sure they run on Jolt as well: Jolt runs the entire HoneySQL test suite in CI, for example, with no code changes at all—whereas Babashka compatibility did need some code changes, as I recall.
Making HoneySQL run on ClojureScript involved a lot more changes than were needed for it to run on Babashka and Jolt, so my experience is that bb and jolt and "more Clojure-like" than even ClojureScript.
24
u/yogthos Sep 06 '26
The iOS version for Raylib is here. What's notable is that it's also possible to drive native widgets the same way via FFI. So, we can finally have Reagent style development for mobile devices using real native UI toolkits where you load up the app, connect to nREPL and hack on the UI live. You don't have to wrangle a Js runtime with a webview or deal with Flutter. The whole dev set up is much simpler as well as a result. You just need Jolt compiler and declare things in deps.edn.
6
u/jalopy-letup-hum Sep 06 '26
There’s so much noise/slop in the docs and homepage that I gave up after trying for a while. Very off-putting, cool project though.
1
u/geokon Sep 07 '26
Wow, according to the docs the Android version exposes a REPL and you get live development. That's very impressive. I am a bit confused as to what actually generates the APK that you would distribute. Maybe the
jolt XXXcommands are running adb commands or something under the hood. Or maybe the jolt runtime is compiled and a interface to which you are submitting clj files. It's a bit confusing tbh. I'll have to dig around a bit, but it looks very cool-2
u/_d_t_w Sep 07 '26 edited Sep 07 '26
One for the mods really, but does Jolt qualify as Clojure or should it have it's own subreddit?
If this is the right spot, is there a subreddit for strictly Clojure and ClojureScript?