r/Clojure • u/alexdmiller • 3h ago
State of Clojure Community 2026
surveymonkey.comLast chance! Please fill this out this week so we get a good sampling ... thanks!
r/Clojure • u/jbiserkov • 11d ago
r/Clojure • u/alexdmiller • 3h ago
Last chance! Please fill this out this week so we get a good sampling ... thanks!
r/Clojure • u/alexdmiller • 5h ago
Over the past twelve months a tiny team has used ClojureDart (Clojure compiled to Dart, running on Flutter) to build more than a dozen production apps for iOS, Android, and macOS, most deployed internally and several bound for the app stores. The apps include a document scanner with on-device OpenCV, a transit tracker with realtime GTFS, a venture-capital deck triager with on-device LLM evaluation, a notes app with on-device sentence embeddings, a marketplace, an encyclopedia, a financial charting app, and several more. This experience report distills the patterns that survived the trip from prototype to production: a single-atom-plus-`:watch` architecture that replaces Riverpod and BLoC, a curated catalog of cljd-flutter pitfalls (each one a lost afternoon you don't have to spend), and a reusable scaffold for new apps. Attendees will leave with a grounded view of where ClojureDart is strong, where it still has sharp edges, and a checklist of decisions to make on day one.
Speaker: Burin Choomnuan,Senior Principal Engineer at Newscorp Australia
With over two decades of experience in software development, Burin Choomnuan has evolved alongside the technology landscape, moving from Java to Ruby to Clojure, then on to ClojureScript, and most recently to ClojureDart for mobile and desktop work. Over the past year he has shipped a fleet of production ClojureDart apps for iOS, Android, and macOS, alongside Clojure backends and ClojureScript single-page apps that share a single mental model end-to-end. His current interests are the convergence of functional programming with AI-assisted development, building maintainable agentic workflows in Clojure, and sharing the patterns and pitfalls a tiny team learns by shipping at pace. When he isn't coding, he's writing experience reports for fellow developers who appreciate the art of elegant, productive engineering.
r/Clojure • u/edenworky • 1h ago
let's say i'm modelling a game.
this game always has 20 turns, but it's of such depth that there are a 1000 different plays one can make in a turn. despite this, there are only 50 possible game states, but they're each rather detailed and complex data structures.
my question is as follows:
is there anything wrong with representing it as a map, 20 layers deep, each with a 1000 keys mapping to each of the states, which end up duplicated all across the game tree?
instinctually, yes, obviously. there's so much duplication, i can't imagine the poor soul that ever has to read a serialised version of that.
but that got me thinking; yes, that's a very poor data structuring for e.g. serialising or wiring or something; but also, isn't that a pretty ideal way of modelling it in-memory insofar as Clojure's memory deduping leveraged in eg clojure.core/=?
i guess this is conceptually getting closer to using maps as collections of pointers on (immutable) data, or maps as directed acyclic graphs, but my math/compsci doesn't reach that far.
am i understanding things correctly? how so if not? are there more illustrative/high-leverage examples of this principle? are there drawbacks to this i'm not seeing (other than being a pain to log)?
EDIT: to clarify, i'm moreso wondering about the way the 50 identical game states get duplicated/shared than the merits of managing such a large map in memory
r/Clojure • u/yogthos • 2d ago
r/Clojure • u/philip_schwarz • 3d ago
r/Clojure • u/nephrenka • 5d ago
r/Clojure • u/agumonkey • 5d ago
r/Clojure • u/alexdmiller • 6d ago
What if you could have a spreadsheet that combines: - the layout, styling and interactivity of a web page, - the reactivity of a spreadsheet, - and the expressiveness of Clojure? How Clojure enables the next generation of spreadsheets.
Speaker: Markus Holmström
Having worked many years at an investment bank in Zurich, I have seen firsthand the power spreadsheets give users and also their limits. My current focus is to improve the powers and to remove the limits of the spreadsheet.
r/Clojure • u/TTalkIM • 5d ago
Clojure developers who prefer JetBrains IDEs have long had two main options. One is the commercial Cursive plugin. The other is clojure-lsp-intellij together with LSP4IJ. Capstan is a third option, now on the JetBrains Marketplace. It's a free plugin that adds Clojure and ClojureScript support to IntelliJ IDEA. It is modeled on Calva, the popular VS Code extension, and it is written in Clojure.
Structural Editing: Calva's Paredit
Structural editing matters a lot in any Lisp. Capstan ports Calva's paredit commands, and its description says all 435 of Calva's paredit test cases pass. Along with the usual slurp, barf, splice and raise commands, it includes:
If you are coming from Calva, editing should feel the same.
Its Own clojure-lsp Client
The biggest change in version 1.6.0 is that Capstan no longer depends on LSP4IJ. It now has its own clojure-lsp client. Capstan downloads the latest clojure-lsp for you, or you can point it at a binary you already have. The language features include:
clojure-lsp's refactorings also appear in the IDE's Refactor menu.
There are also features for reliability. A status bar widget shows the server state, and a separate tool window shows the logs. If the server crashes, Capstan restarts it. If a newer clojure-lsp fails to start, Capstan goes back to the previous version that worked.
nREPL: Interactive Development
Capstan can jack in with one action for deps.edn, Leiningen, shadow-cljs, babashka and nbb projects. Evaluation results appear inline next to your code. The REPL window has completion and pretty-printing, stack traces are clickable, and ClojureScript sessions work too. Since version 0.1.4, REPL output is also written to .capstan/repl-output.log in the project. Color codes are removed, and the log rotates once it passes 10 MB. The folder tells git to ignore it, so it stays out of your commits.
Testing and Debugging
clojure.test results show up in the IDE's own test tree. For failed tests you can compare expected and actual values, and you can rerun only the failures. The debugger connects cider-nrepl's debugging to IntelliJ's debugger UI. You can set line breakpoints, step through code, inspect local variables and evaluate expressions at a breakpoint, much like debugging Java.
Keybindings Under Prefixes
Capstan puts its shortcuts under two prefix keys, so they don't take over IntelliJ's own:
Alt+N for the REPL, tests and the debugger;
Alt+K for paredit.
If you want Calva's one-key shortcuts instead, you can switch to the optional "Capstan (Calva)" keymap. To see every shortcut, open Settings → Keymap and search for "Capstan".
r/Clojure • u/alexdmiller • 7d ago
When a Clojure process runs out of memory, the JVM could give you a heap dump, but most Clojure developers have never opened one. This talk walks through my diagnostic process for finding memory leaks using Eclipse MAT, including how to map Java class names back to Clojure constructs and how to recognize the patterns that trip us up (memoized functions, go-loops capturing dynamic vars, unbounded registries growing during long-running REPL sessions). You will leave with a repeatable workflow for taking, opening, and analyzing heap dumps from any Clojure process. The talk concludes with an investigation whose fixes reduced memory usage of an internal test suite from up to 50GB to a couple of GB, plus a memory issue with clojure.core.cache that would be unfeasible to find without this heap dump analysis.
Speaker: Santiago Cabrera, Software Engineer at Nubank
Lead Software Engineer at Nubank, where I've worked since June 2022 on the multi-service test infrastructure used across Nubank's Clojure services, a domain where memory profiling and REPL-driven development are daily concerns. I run Nubank's Engineering Excellence Tech Forum and recently spoke about Clojure at the BogotaJVM meetup, hosted at Oracle's offices for Java's 30th anniversary.
r/Clojure • u/yogthos • 7d ago
r/Clojure • u/alexdmiller • 10d ago
At Gateless we’ve been shipping mortgage underwriting automation with Clara Rules since 2021. This talk is about the lessons we’ve learning using Logic Programming in production, at scale, for over five years. This talk will cover a very brief introduction to rules development, but focus more on a case study in how we leveraged the paradigm and broken past roadblocks with advanced tooling. At one point every production release broke something, and no amount of testing would surface the answers. How would you ensure quality in a high stakes system with thousands of facts and rules? We’ll give a brief introduction to the business problems we’ve been solving and make the case for Logic Programming. We’ll review our architecture as it pertains to the use of rules. Then we’ll dive deeper into our tooling, and how we use it to ensure quality.
Speakers:
Daniel Glauser, VP of Software Engineering at Gateless
Daniel has been working with Clojure for over fifteen years, and software for almost thirty years. Throughout his career he’s worked at large companies like NBC-Universal and Comcast, as well as a host of smaller startups. He’s currently a VP of Engineering at Gateless, a mortgage software company focused on automating underwriting of residential home loans. When he’s not working Daniel enjoys camping, photography, and videography.
Jose Gomez, Senior Principal Software Engineer at Gateless
Jose Gomez has been working in software for approximately fifteen years, and with Clojure for over ten years. Throughout his career he's worked at companies including Bristol Myers Squibb, Express Scripts, and Guaranteed Rate, as well as smaller startups and boutique consulting firms. He's currently a Senior Principal Software Engineer at Gateless, a mortgage software company focused on automating underwriting of residential home loans. Jose focuses on distributed systems and product engineering, and has contributed to open source work including Clara Rules and Futurama. When he's not working Jose enjoys building computers, playing online MMOs, and listening to an ever-growing audiobook collection.
r/Clojure • u/alexdmiller • 11d ago
For 15 years, Clojure's headwinds (smaller hiring pool, thinner library long tail, the inertia of moving off an incumbent stack) outweighed its ergonomic benefits (REPL-driven iteration, immutable data, image introspection, succinct DSLs) for most teams — the right call while humans typed. Agentic coding changes both sides of the scale at once: the AI absorbs most of the headwinds (the surface tax is paid by something that doesn't tire), while Clojure's ergonomics multiply a developer that iterates orders of magnitude faster than a human can. After starting a production AI product on TypeScript and Python (~90,000 lines) and rewriting it in ~12,000 lines of Clojure and ClojureScript with an AI agent as the primary pair, the rewrite paid for itself in months and has compounded gains daily ever since. You'll leave with a framework for re-running that calculation in your own setup — and a usable answer: don't let the agent dictate your language. The agent can handle yours.
Speaker: Brendan Foote, Co-Founder, JoinIn AI
Brendan Foote co-founded JoinIn.ai, where a two-engineer team rewrote a production real-time AI meeting product from 90,000 lines of TypeScript and Python into 12,000 lines of Clojure and ClojureScript — the case study of this talk. He has been working in Clojure since 2013, when he read The Joy of Clojure and gave a "Why Clojure?" presentation in his Master's in Software Engineering program. He has spoken on Clojure at MSSE Barcamp events, including a talk on a production Clojure tool from a prior financial-services role — 87 lines of code that parsed 750MB of nightly XML and trivially parallelized the work. With 20+ years of engineering experience, he has been making the case for Clojure for over a decade, and is making it again — now as an applied lesson from rebuilding a production AI product with an agent as the primary pair.
r/Clojure • u/Soft_Reality6818 • 11d ago
Hi everyone,
I’ve released jjson, a JSON encoding/decoding library for Jolt, backed by yyjson.
In my benchmarks, it was ~44x faster at decoding and ~17x faster at encoding compared to clojure.data.json running on Jolt.
Hope you find it useful. Feedback welcome!
r/Clojure • u/alexdmiller • 12d ago
Fourteen years ago, Bret Victor argued that creators need an immediate connection to what they make. Clojure already lived it: the REPL, then Figwheel and shadow-cljs in the browser. But it stops at the rendered page: you can change the code and watch the page update, yet you can't point at something on it and ask which Clojure form made it. Render Hiccup to HTML and the div forgets it was ever Clojure code on a line. Three clicks deep? Grep and guesswork. This talk builds the other half: a source inspector wiring your app, browser, and editor into one loop. Hover an element and the editor jumps to the Hiccup that made it. Put your cursor on a view and the element lights up, definition told apart from call site. It's surprisingly little code. We build it live, end to end, so you can wire the same loop into your own server-rendered Hiccup app.
Speaker: Patrick de Kruif, Independent Clojure Developer
Patrick de Kruif has built software in Clojure professionally for the past five years, and tinkered with it longer still as a side interest before that. His work is mostly web applications backed by databases, and pretty much everything around them. From schema and UI through to CI, deployment, and the devops that keeps it all running. He's happiest working on interactive systems, with a weakness for small, sharp tools over large frameworks.
r/Clojure • u/yogthos • 12d ago
r/Clojure • u/TTalkIM • 12d ago
https://www.ttalk.im/en/products/coxn/
Coxswain (command name: coxn) is an Emacs-style text editor redeveloped from scratch in Clojure, running on the JVM with a terminal TUI as its default form, while offering an optional GUI version based on Compose Multiplatform (coxn gui). The project's design philosophy is "core editor + layered feature mounting": keybindings and command names strictly follow the Emacs global-map, and on top of that it adds its own M-m leader-key system, allowing Emacs users to migrate at virtually zero cost.
The editor core provides basic editing, buffer management, and window management. It also integrates tree-sitter to deliver syntax highlighting and structured editing, covering languages such as Clojure, Common Lisp, C++, Java, Erlang, and Elixir. A general-purpose LSP client supports servers including clojure-lsp, clangd, jdtls, erlang_ls, elixir-ls, and cl-lsp — whichever is installed gets used, automatically launched when a file is opened and reused per project root. Additional features include floating completion popups and function signatures, in-project grep, a project tree, Git integration, CIDER/SLIME-style REPL connections (nREPL/SWANK), 14 color themes, major-mode hooks and a minor-mode mechanism, plus internationalization support.
Architecturally, the editing core and the frontends are strictly decoupled: the TUI and GUI are merely two frontend implementations of the same core, with the GUI-side Kotlin code connecting only through clojure.java.api without intruding into editing logic. The GUI edition targets everyday desktop use: system font fallback with CJK double-width alignment, fcitx/ibus input method support, HiDPI adaptation, drag-and-drop file opening, system clipboard integration, and software rendering fallback when no GL environment is available. All configuration lives in ~/.config/coxn/init.clj, and every behavior is customizable.
Performance and quality are equally central to the project: keypress handling takes priority over background tasks; REPL/LSP output is batched with bounded caching; paren matching, highlighting, and indentation are all optimized based on syntax trees and caches; frame rendering and region indentation achieve sub-millisecond to sub-hundred-millisecond performance; and hundreds of automated tests guard behavioral stability. The project explicitly builds no agent features and depends on no network services — it remains a pure, local, auditable editor.
In an era saturated with agent-generated code, a text editor may seem like a relic of the past — but it's never too late to build a tool that truly feels right in your hand, even if it belongs to a bygone age
r/Clojure • u/stefan_kurcubic • 13d ago
Hey,
Something occurred to me. Might be weird and morbid. Not enough time was spent in hammock and i am already voicing it. Sorry for that.
Rich isn't immortal (that we know of).
I want to keep using Clojure for next 50 years and for people to keep using it after that. I want to have the stories where young kids are gonna listen how i created macro that saved the day and i will slip immutability into that story.
I watched https://www.youtube.com/watch?v=jh8UEJ1S79Q and we got one Alex that guides others and is doing amazing job in all fronts but what do we do after he retires?
And yes, similar to this fellow clojurian https://youtu.be/WhXPEmdNRpA?t=1780 i think i feel the same.
How will Clojure continue developing after Rich and people that are involved now?
Are we doing enough to have new people that have vast understanding of Clojure itself so that i can continue working with it without having to worry that floor under me is going to be moved because nubank or who ever decided this new patch fixes all of their problems?
I realize there is community behind Clojure but we still very much rely on guidance from Rich (at least i do).
We are looking at world going crazy 'owah i can generate code, programming is so easy' and our community for the most part is saying 'what was important is not even more important, code itself wasn't the problem' which is true.
Maybe what i am asking is in line with this https://www.youtube.com/shorts/kVWVgIfpbHo "When he is gone, we are all out of legends...".
Who will steward Clojure?
r/Clojure • u/alexdmiller • 13d ago
In this experience report, a 20-year veteran of C++ and C# game development recounts their experience building a real-time 3D game engine powered by Clojure: the motivation, surprising benefits, challenges, and lessons learned when using idiomatic Clojure for real-time 3D game development.
Speaker: Jared Cone, Off By One Games
I've been making games for 20 years. I was the lead programmer and principal engineer for Rocket League, from prototype to production to 10 years as a live-service game. After a decade of admiring Clojure from afar I've finally taken the plunge by building a 3D game engine in Clojure to find out what the language can really do.
r/Clojure • u/alexdmiller • 14d ago
Description:
Earlier this year it looked like AI might kill programming language innovation. Coding agents were at their best in the mainstream languages with decades of training data, which made the barrier to adopting anything new higher than ever. That's changed. With the right skills files, an agent will write Haskell or Gleam as happily as Java, and that flips the situation on its head: it's never been cheaper to take a new language, or a new architecture, out for a test drive. All we need is ideas worth trying.
So this week I'm joined by an enthusiastic proponent of a language, an architecture and a library you might want to try. Cameron Barré is a long-time Clojure programmer and the author of Grain, an open-source library for building event-sourced information systems. We start with what makes a system simple or complex, and the difference between essential and accidental complexity. Then we look at why Cameron thinks Lisp is an excellent choice for expressing both code and constraints, and why a live REPL might matter even more to an agent than it does to a human. From there we get into event modeling, an architecture so simple to understand that even a clanker can get it right, and how Grain uses Clojure macros to turn a handful of primitives (commands, events, views and todo processors) into a DSL that stops agents drifting from the architecture.
If you've been looking for an excuse to revisit Lisp or event sourcing, or you're wondering what a language should give us now that agents write most of the code, this is a tour of a different way of thinking: power where you need it, constraints where you don't, and cheap enough to try for yourself.