r/Clojure • u/wedesoft • May 26 '26
Machine learning using Clojure, libpython-clj2, and Pytorch
clojurecivitas.orgMachine learning explained using the parabola example
r/Clojure • u/wedesoft • May 26 '26
Machine learning explained using the parabola example
r/Clojure • u/man-vs-spider • May 26 '26
I’m new to Clojure, so I’m still getting used to the ecosystem. One thing that has been confusing is which libraries to use to interact with the filesystem (listing files in directories, getting file paths, opening files). Different resources seem to use different libraries. I assume the main difference is that some are from Java and some are built for Clojure.
Is there a recommended library I should use? Are the different libraries compatible with each other?
On my system I have a lot of files with Japanese/Chinese names. Which library would be most robust for handling files from different characters sets and possibly contain unusual characters?
r/Clojure • u/Revolutionary_Bed957 • May 25 '26
I’ve been building ptc_runner, a small Clojure-like language for LLM-generated code and an MCP server for it.
The idea is to give AI agents (or coding agents) one tool lisp_eval, which gives it a stateful, sandboxed REPL session. From there it can inspect and call other MCP tools, keep intermediate data in memory, and use normal Clojure-ish functions to aggregate/analyze results instead of stuffing everything into the LLM context.
It’s a small subset for short-lived programs written by LLMs. The language spec - https://hexdocs.pm/ptc_runner/ptc-lisp-specification.html
Here is the blog why I think a small custom clojure subset is the way to go instead of using python/javascript sandboxes.
https://andreasronge.github.io/ptc_runner/the-right-tool-for-code-mode.html
r/Clojure • u/Borkdude • May 25 '26
Have fun watching!
https://www.youtube.com/playlist?list=PLaN-rC-CjQqCClhXmwzE7XhGWbrbB-A7u
r/Clojure • u/aHackFromJOS • May 22 '26
“nREPL itself is healthier than it has ever been... Meanwhile prepl is, as best as I can tell, mostly a curiosity.“
r/Clojure • u/danielszm • May 22 '26

Caonima is a cross-platform proxy client with a focus on censorship circumvention and net neutrality restoration.
This release brings QUIC-based proxy support — faster, more resilient, and significantly harder to fingerprint than TCP.
Here is the obligatory cross-platform screenshots showing the flow:
1, Linux: Login screen
2, Windows: Server selection
3, MacOS: Enabling proxy
Written in Clojure.
Unified, CI-friendly build across platforms enabled by Meyvn (including notarization on macOS).
r/Clojure • u/Clojure-Conj • May 21 '26
If you’ve built something interesting, learned something the hard way, or have a story other developers could use, we want to hear it.
And if the idea of speaking is what’s holding you back, there will be extra support for speakers this year. That’s all we can say for now.
r/Clojure • u/ertucetin • May 20 '26
r/Clojure • u/fredokun • May 20 '26
I used to program in several programming languages, Clojure being one of my (but not only) favorite. Now that I have some acute (brain-related) disease, this is the only one that still really clicks for me ... from installation to running/testing my old code, the personnally-dreaded DevOps tasks included ! (with of course some remaining "muscle" memory). Resilience is not an empty word in this frantically-moving world, thanks Clojure (and by of transitivity, the JVM), I owe you much!
r/Clojure • u/bozhidarb • May 20 '26
The neatest project you probably never wanted or needed. Works with Clojure just fine. Goes well with good music.
Enjoy!
r/Clojure • u/BrunoBonacci • May 20 '26
r/Clojure • u/HowTheStoryEnds • May 18 '26
https://www.humblebundle.com/books/ultimate-functional-programming-pragmatic-programmers-books
r/Clojure • u/carlosomar2 • May 18 '26
r/Clojure • u/c-neumann • May 18 '26
The Clojure development team is pleased to announce a Clojure Dev Call on May 26 @ 17:00 UTC!
Join the Clojure dev team for an update on what we’ve been working on and what’s on our horizon. We’ll save time for a Q&A, so bring your questions.
r/Clojure • u/tompas7989 • May 18 '26
I’ve been working on Beagle:
https://github.com/tompassarelli/beagle
It’s an experimental typed authoring layer for Clojure. You write Beagle source, it gets parsed and checked by Racket, and then it emits plain .clj files that run on the normal Clojure runtime.
Roughly:
Beagle source
-> parser
-> custom type checker
-> emitted .clj
-> normal Clojure runtime
It is not Typed Clojure, and it does not change the Clojure runtime. The type checker is custom and lives on the authoring side.
Some pieces that may be interesting:
[] vs () syntaxThe main thing I’m testing is whether this kind of typed layer helps coding agents repair Clojure programs.
Early result: on an ~8,500 LOC test with 35 injected bugs, Beagle got 3/3 full repair correctness. Raw Clojure got 0/3 in the same setup.
I’m not claiming that proves the whole idea yet. The tests need to get larger, cleaner, and harder. But the early result was interesting enough that I figured it was worth sharing.
r/Clojure • u/ilevd • May 17 '26
r/Clojure • u/tombarys • May 17 '26
DISCLAIMER: This is my hobby project which I used to learn Replicant/Nexus (by Chris Johansen) and Datalevin/Datascript and to leverage data-driven approach of Clojure/script and these libraries. It started as a solution to "scratch my itch" problem and was inspired by u/cjno.
You might think sharing a handful of editable tasks among a few people would be dead simple in an era of todo-list apps. You'd be wrong.
To my knowledge, no simple tool of this kind exists. There are countless complex apps that want something from you and your collaborators — a subscription fee, registration, an email address, your smartphone's private data, permission to send you notifications, and everything in between.
So I built something my elderly father, wife, kids, and less tech-savvy co-workers can use instantly, without explanation from their phones.
The solution is deliberately minimal: just a URL per collaborator, opened in their browser (desktop or mobile) — no new tools, no new habits. The list is the single source of truth; ongoing communication happens through whatever channels they already use: chat, Messenger, email…
I built https://dotolist.eu for myself as a proof of concept — but friends quickly adopted it, and you're welcome to use it for free. It is NOT vibe-coded. It is love-coded in Clojure. Wrote about my journey here: https://lifehacky.net/dotolist-creating-a-one-click-team-065a18dbeccd (includes some tips and tricks for the app too).
Let me know if you find it useful.

r/Clojure • u/Rschmukler • May 16 '26
Announcing Ducktape!
Pleased to announce that we just released the first version of dynamic-alpha/ducktape for people who feel like helping us test. It is a near drop-in replacement for tmducken but uses java.lang.foreign instead of JNA for FFI. Highlights include:
• Deterministic native memory. Allocations live in scoped Arenas and are released with with-open rather than via GC finalizers. Helps avoid possible doublefrees under GC load
• 12 more DuckDB types -BLOB, HUGEINT, DECIMAL, INTERVAL, ENUM, LIST, STRUCT, MAP, and the full timestamp precision family.
• Streaming appender API - open-appender / append-dataset! / flush-appender! keeps DuckDB's appender alive across batches, amortizing per-call setup. Handy for Kafka consumers, paginated API ingest, file shards - up to 10x faster than repeated insert-dataset! for small batches.
• Performance - Parallel column encode/decode, direct MethodHandle dispatch, partitioned parallel-concat for multi-chunk reads. Lands at 1.1–4.0× vs tmducken across numeric / string / uuid / mixed / wide workloads (1M rows, JDK 25, DuckDB 1.5.2, all significant at 95% CI - full table in the README).
r/Clojure • u/zekzekus • May 16 '26
I just put the docs on a small Clojure framework I've been hacking on, **stube**. It's a personal research project, not a product — somewhere I'm working out an idea about web apps that has pulled at me for twenty years.
Short version: components are plain maps of pure functions, the conversation is a value, handlers return effects, and one component can *call* another and read its *answer* like a return value (Seaside / UCW lineage). The wire is Datastar (SSE + morph by id); the implementation is a small effect kernel over plain Clojure data.
(s/defcomponent :demo/save-or-cancel
:render (fn [self]
[:div (s/root-attrs self)
[:button (s/on self :click :as :save) "Save"]
[:button (s/on self :click :as :cancel) "Cancel"]])
:handle (fn [self {:keys [event]}]
(case event
:save [(s/call :ui/confirm {:question "Save changes?"} :on-confirmed)]
:cancel [(s/answer :cancelled)]))
:on-confirmed
(fn [self yes?]
[(s/answer (if yes? :saved :cancelled))]))
Built heavily with LLM assistants — wouldn't have shipped it this fast otherwise — but the shape, the namespace layout, and the choice of what to include and what to leave out is mine and reflects how I think about systems.
If you're a re-frame person and the conversation map feels familiar: yes, deliberately. The conversation here is closer in spirit to a re-frame app-db than to a Smalltalk image.
- Repo: https://github.com/zekzekus/stube
- Rationale (why this exists at all): https://github.com/zekzekus/stube/blob/master/docs/rationale.md
- Tutorial: https://github.com/zekzekus/stube/blob/master/docs/tutorial.md
Happy for feedback, war stories, "have you seen X" pointers.
r/Clojure • u/dustingetz • May 16 '26
r/Clojure • u/HappyAngrySquid • May 15 '26
I’m particularly interested to hear anecdotes from folks who have previously used Typescript or Elm or some other statically typed front end tech.