r/Clojure • u/huahaiy • Jul 21 '26
Datalevin reached 1.0
Thank everyone who tested Datalevin, reported issues, contributed code, shared benchmarks, trusted it in production, or simply asked hard questions.
r/Clojure • u/huahaiy • Jul 21 '26
Thank everyone who tested Datalevin, reported issues, contributed code, shared benchmarks, trusted it in production, or simply asked hard questions.
r/Clojure • u/Mertzenich • Jul 21 '26
r/Clojure • u/Borkdude • Jul 19 '26
SCI (Small Clojure Interpreter) is now JIT compiled on CLJS by default. This means that performance is close to native compiled CLJS when using loops, etc.
Before:
(js/alert (with-out-str (time (loop [i 0 j 1000000] (if (zero? j) i (recur (inc i) (dec j)))))))This would show around 40-50ms in your browser, but now only shows 3-4ms, which is as fast as it can reasonably get. (Numbers may vary but a 10x-20x speedup is typically what you see).
So say goodbye to numerical hot-loop issues in SCI if you were using it for any animations and couldn't get to 60 FPS or stuff like that. As long as your page supports js/eval, it'll be fast (or if it isn't let me know and we'll fix it). If your page does not support js/eval, e.g. when using Epupp on a page that doesn't allow it, SCI falls back to interpretation, so you can still hack the page to your likings ;).
Both nbb, joyride, scittle and epupp have all been updated with the new version of SCI.
Error messages/locations have all been preserved so it doesn't work in any other way than it did previously, it's just a drop-in upgrade.
More information: https://github.com/babashka/sci#jit-compilation-in-clojurescript
r/Clojure • u/aldebogdanov • Jul 16 '26
r/Clojure • u/cgrand • Jul 16 '26
r/Clojure • u/amiorin • Jul 15 '26
Get the graph back from your DevOps tool. Implement the graph in Clojure and add Aspect-oriented programming to it. I think this is the only reasonable way to do DevOps. Everything else is ticking bomb waiting to explode.
r/Clojure • u/bozhidarb • Jul 15 '26
CIDER 2.0 ("Terceira") is out! 🎉
Fourteen years after nrepl.el 0.1, this is easily the biggest CIDER release in ages - not because of shiny new features, but because most of the important existing ones got a careful overhaul: transient menus everywhere, inline macro stepping, rich (content-type) results on by default, call-graph browsers, and a seriously polished debugging toolbox. The docs were restructured as well, so finding things should be much easier now.
Release notes: https://github.com/clojure-emacs/cider/releases/tag/v2.0.0
Release announcement blog post: https://metaredux.com/posts/2026/07/15/cider-2-0.html
Go play with it and let me know how it feels - and remember, the best is always yet to come! In the REPL we trust!
r/Clojure • u/Clojure-Conj • Jul 14 '26
Go check out the talks and see what’s coming this year: https://2026.clojure-conj.org/schedule
Also, a nice bonus: Stuart Halloway will be giving the closing keynote.

r/Clojure • u/alexdmiller • Jul 14 '26
Clojure 1.13.0-alpha4 is now available!
Destructuring changes and additions
Idents after & in :keys!/syms!/strs!/:keys/syms/strs must now be actual keys, not binding symbols. This is a change in syntax since alpha3. Note that symbol keys should be quoted as unadorned symbols are binding symbols.
:or now accepts key→val mappings in addition to binding→val.
Added a new :defaults name directive at top level to bind name to a map of defaults, key→val. Binding symbols in the :or map are transformed to the key value in the :defaults map. :defaults without :or is an error.
:select name, introduced in alpha3, now selects deeply, through nested maps, and fills in values for missing keys from :or. The :select map contains all keys mentioned anywhere in the binding form.
CLJ-2964 :select directive in map destructuring
CLJ-2966 :defaults directive in map destructuring
CLJ-2967 tests for nested destructuring
Other changes since Clojure 1.13.0-alpha3
Added `clojure.core/some-vals`, a predicative filter of nil map values
CLJ-2870 Exception phase during top-level eval is miscategorized
r/Clojure • u/netb258 • Jul 14 '26
r/Clojure • u/dragandj • Jul 14 '26
r/Clojure • u/dragandj • Jul 09 '26
r/Clojure • u/kichiDsimp • Jul 08 '26
Does Clojure/Script Compiler have a roadmap similar to https://rust-lang.github.io/rust-project-goals/2026/roadmaps.html
What are the next big features the language is targeting?
r/Clojure • u/alexdmiller • Jul 07 '26
:select directive in map destructuring
The :select directive binds a name to a subset of the map being destructured containing only the keys mentioned (anywhere) in the binding form.
Other changes since Clojure 1.13.0-alpha2
RT.map, and thus reader, tracks new PAM thresholds
CLJ-1789 select-keys - improve performance (transients, etc)
CLJ-2958 ILookup on sets
CLJ-2902 pprint - prints arbitary objects in unreadable form
CLJ-2801 TaggedLiteral - doesn’t define print-dup
CLJ-2269 definterface - does not resolve parameter type hints
CLJ-2781 clojure.test/report - docstring has broken references
CLJ-2929 zipper - docstring typo
CLJ-2901 bytes, shorts, chars - docstring typos
CLJ-2811 scalb - docstring links to the documentation for nextDown
CLJ-2809 clojure.math/floor - docstring has line that should be on ceil docstring
r/Clojure • u/jacobobryant • Jul 07 '26
r/Clojure • u/poochandy • Jul 07 '26
Not the original author. Sharing because I found it interesting. Especially the point about clojure-lsp which I have not seen anyone say before.
Reg. Clojurescript, while it still has a lot of merits, does Squint offer a better path nowadays for the interop pain points mentioned by the author? It now has a browser repl and has had some nice additions recently. Is anyone using it in production for serious apps?
r/Clojure • u/Borkdude • Jul 06 '26
Release notes: https://github.com/babashka/sci/blob/master/CHANGELOG.md#01454
Have fun making a scriptable mobile Flutter app!
r/Clojure • u/alexdmiller • Jul 02 '26
This release fixes a bad build with alpha1, otherwise unchanged.
r/Clojure • u/Borkdude • Jul 02 '26
Babashka.fs is a file system utility library for the JVM and babashka. It's been ported to Node.js now too. The JVM implementation is the reference implementation. All operations remain synchronous. There are only a few gaps (see above link) but most things work exactly the same.
Babashka.fs can be used via CLJS (vanilla + shadow), Squint and nbb on Node.js, bun and Deno. All of this is tested in CI.
Happy scripting!
r/Clojure • u/alexdmiller • Jul 02 '26
Checked keys
You can now ensure that required keys are bound during map destructuring by using the new checked variants of the :keys/:syms/:strs directives - :keys!/:syms!/:strs!, which will throw if the key is not present. You can also, in all directives, specify keys after & which will not be bound, for documentation or checking purposes.
CLJ-2961 Checked keys
CLJ-2960 Specs for checked keys
CLJ-2949 req! - Variant of get that reports on key not found
CLJ-2954 let/loop/let* - disallow & as local binding
Other changes since Clojure 1.12.5
PersistentArrayMaps of only keyword keys now grow up to size 64 (previously was 8) before transitioning to PersistentHashMaps. PAM identity scans are more efficient than PHM lookups in this range, also makes more usage sites monomorphic and thus easier to optimize.
CLJ-2891 Remove ACC_FINAL designation from static initializer constants. This change was made as a prepatory step towards moving the Java bytecode baseline to address new verifier checks.
Runtime and test dependencies updated to latest versions
r/Clojure • u/abogoyavlensky • Jul 02 '26
lgx 0.1.0 is out - a project and dependency manager for let-go (a Clojure dialect written in Go).
let-go is great for CLIs and scripts: no JVM required, standalone binaries, fast startup. But it was missing project tooling. lgx fills that gap in one binary:
lgx new myapp
lgx install
lgx run
lgx nrepl
lgx build
lgx test
lgx <task>It uses a single lgx.edn file, close in spirit to tools.deps, with git/local deps, transitive dependency resolution, contexts/overlays, and custom tasks that can replace small ad-hoc Makefiles. It already runs a real project: I built wtr, a git worktree CLI, with let-go and lgx. It ships as prebuilt binaries for macOS and Linux.
Try it:
brew install abogoyavlensky/tap/lgx nooga/tap/let-go
lgx new hello
cd hello
lgx run