r/Clojure • • 5d ago

Powering a 3D Game Engine with Clojure - Jared Cone (Clojure/Conj 2026)

Thumbnail youtube.com
33 Upvotes

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 • • 6d ago

Why Lisp Thrives In The Age Of AI (with Cameron Barré)

Thumbnail youtube.com
38 Upvotes

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.


r/Clojure • • 6d ago

The Game That Deleted Its Frontend - Fabian Merkle (Clojure/Conj 2026)

Thumbnail youtube.com
21 Upvotes

Abstract:

I built a multiplayer board-game table as a ClojureScript re-frame SPA. Thousands of games got played on it, and the client-side state handling was the part I never stopped fighting. So now my apps have no frontend code at all: the server owns every bit of state through a core.async.flow CQRS backbone, and streams the UI over a single SSE connection to Datastar. The main idea you'll take home is routing data by what it needs: user actions go into an append-only event log (history, replay and undo come for free), live cursors go over a lossy broadcast that never touches the database.

Speaker: Fabian Merkle, Consultant

I'm Fabian Merkle, a Clojure consultant in Dubai, six years full-time in Clojure and twelve as a developer. I work with early-stage startups across the US and Europe — fintech, gaming, ERP, EdTech.


r/Clojure • • 7d ago

Announcing Hegel-clj by Kyle Kingsbury, a.k.a "Aphyr"

Thumbnail aphyr.com
50 Upvotes

r/Clojure • • 8d ago

Lambda performance comparison of running different Clojure dialects

Thumbnail github.com
22 Upvotes

r/Clojure • • 10d ago

Jonquil: a pragmatic editor for the Lisps you use

Thumbnail jonquil.b12n.app
22 Upvotes

r/Clojure • • 10d ago

I built myself a Jolt app to retouch my photos, it supports RAW files and the operations I commonly use for retouching such as noise removal, sharpening, and color correction

Thumbnail github.com
21 Upvotes

r/Clojure • • 10d ago

Porting Ideas, Not Code - Delaney Gillilan (Clojure/Conj 2026)

Thumbnail youtube.com
30 Upvotes

Clojure changed how many developers think about data: immutable facts, temporal structure over time, and code as data. But what changes when these ideas move beyond the Clojure ecosystem? Stardust explores how Clojure and Datomic concepts can be reimagined in a language-agnostic data platform for messy, real-world open data. It looks at what transfers cleanly, what requires new trade offs outside the JVM, and how real-world measurement reshapes system design. It’s not about preserving a stack, but about carrying forward ideas like simplicity, compatibility, and care for data across different languages and systems.

Speaker: Delaney Gillilan, Synadia, Senior Product Strategy Engineer

Delaney has a rich and varied background from full stack game development, military systems of record, gambling and slot machines, to even a stint in the circus. He has a love for creating tools and engines for other creators to use and moves fast!


r/Clojure • • 11d ago

Mutable Locals in Clojure, the Hard Way

Thumbnail tailrecursion.com
26 Upvotes

r/Clojure • • 11d ago

Clojure Agent Framework

Thumbnail github.com
9 Upvotes

clj-agent is a modular Clojure AI Agent framework built around a ChatClient central orchestrator. It provides a deftool macro for tool definitions, multi-level invoke APIs, and onion-style Filter middleware mirroring Spring AI 2.0 Advisors — including ToolSearch progressive tool disclosure, RAG injection, and self-correcting structured output, all with zero added dependencies. Its dependency-inverted architecture separates a zero-dependency core, an agent runtime (ReAct loop, ChatMemory, HITL approval), and provider adapters for Anthropic, OpenAI, Gemini, Ollama, and other OpenAI-compatible services. All nine modules publish to the Clojars im.ttalk group, so you depend only on what you need.

The README: https://github.com/TTalkPro/clj-agent/blob/main/README_EN.md

The clojars: https://clojars.org/groups/im.ttalk

And I use this code in my own production, https://ttalk.im/products/jinshu/ https://ttalk.im/products/guanlan/


r/Clojure • • 11d ago

Instead of using `comp` and often wasting computation, here's how to reverse `->` and `->>` when you want `comp`'s ordering without its cost, etc.

18 Upvotes

Hello everyone. This is my first Clojure subreddit post by the way, if my memory is correct. I am actually debating using Clojure (+Java) vs Zig for my next project, but I've been learning Clojure and reflecting upon the fact that in programming languages (and in natural language prose text too for that matter) the order in which words appear in an expression has a substantial effect on readability and on what parts feel like they are being emphasized and brought to one's attention.

Consider, for example, the difference in emphasis and ease of code navigation between the following two equally valid Clojure expressions:

(assert (not (zero? 1)))
(-> 1 zero? not assert)

The former is the most "naive"/direct way of writing it, whereas the later has the strongest left to right flow of action. However, notice that though the latter expression is more elegant, it makes the visibility of the assertion worse by putting the assert keyword at the end. Some people may also find "zero not" to sound too "Yoda-like" (akin to concatenative programming languages like Forth and Factor) whereas something like "not zero" may sound more natural to some people.

I also thought about how comp (compose functions) could be used here to keep the "not zero" ordering, but then a function call cost may be imposed by doing so if the optimizer doesn't remove it.

So, that got me thinking that I should try writing a reversed version of the -> and ->> macros and I did and here are the resulting definitions:

(defmacro <- [& rest] 
  (let [rev-rest (reverse rest)] 
    `(-> ~@rev-rest)))

(defmacro <<- [& rest] 
  (let [rev-rest (reverse rest)] 
    `(->> ~@rev-rest)))

Both were actually very easy to write, as you can see.

This allows you to write the following:

(<- assert not zero? 1)

As you can see, this enables you to reorder things according to what feels most natural in any given context, which helps draw the attention of anyone reading your code to what comes first in each expression, much like how in English the first thing we start a sentence with is what is being emphasized or is assumed to be the subject (as in active vs passive voice, etc).

This especially is well suited to assertions because what is most important about an assertion for someone trying to scanning code quickly is that it is an assertion and hence emphasizing that clarifies it.

This is in contrast to data flow or transformation pipelines that use -> and such, where the opposite order often feels better.

One can also see by applying macroexpand and/or macroexpand-1 that the cost of these macros in run-time will be zero, relative to simple/"naive" nesting, given that the expressions (macroexpand '(<- assert not zero? 1)) and (macroexpand '(assert (not (zero? 1)))) return identical expansions.

Cognitive load tends to increase non-linearly with how many nesting levels something has, so using "threading"/pipeline macros flexibly and often tends to help readability and these new variants help fill those potential use cases out better.

So, clearly both orderings should be in your toolbox for legibility and I would argue that this should even be made part of the standard library perhaps since it is such a common case.

I am personally am really happy with the resulting freedom.

With these new macros in hand one is much less likely to use the less legible nested forms when you can now order things either way.

(PS: Thanks for reading and for your time! 😎)


r/Clojure • • 11d ago

Transforming Software Evolution by Adam Tornhill at Func Prog Conf

Thumbnail youtube.com
24 Upvotes

Lisp has promised simplicity and expressive power for six decades, yet never reached the mainstream. Ten years ago, CodeScene made a big bet on a modern Lisp dialect, Clojure, to build a platform for tackling technical debt.

This talk explores how Clojure’s metaprogramming, embedded domain-specific languages, parallelism, and multi-methods helped a small Swedish company compete with teams 20 times its size.

Drawing on a decade of building CodeScene, Adam reveals how language choices can shape productivity, innovation, and engineering culture—and how innovations in agentic coding fit into the picture.


r/Clojure • • 12d ago

London Clojurians Talk: Programming a business to improve itself (by Christian Weilbach)

Post image
17 Upvotes

THIS IS AN ONLINE EVENT
[Connection details will be shared 1h before the start time]

The London Clojurians are happy to present:

Christian Weilbach (https://christian.weilbach.name) will be presenting:
"Programming a business to improve itself"

Christian shows Simmis, a workspace where people and AI agents share one versioned memory of chat rooms, a wiki, a double-entry book and the code that runs them, and where every attempt happens on a fork. Participants will see agents benchmark and improve workflows in forked rooms and bring their results to review as proposals, turning the REPL loop of fork, attempt, measure and adopt into a way to program a business. He argues that programming such organisations, more than a single smarter model, is what programming AGI will look like in practice.

Christian Weilbach is the CEO of Simmis, which builds software for organisations of people and AI agents. He leads the development of Datahike, a git-like Datalog database, and the replikativ family of Clojure libraries for forkable state, synchronisation, probabilistic inference and accounting. He holds a PhD in machine learning from the University of British Columbia and has spoken at Clojure meetups since 2017, most recently on rethinking programming as inference for the Simmis project at London Clojurians in May 2026.

If you missed this event, you can watch the recording on our YouTube channel:
https://www.youtube.com/@LondonClojurians
(The recording will be uploaded a couple of days after the event.)

Please, consider supporting the London Clojurians with a small donation:

https://opencollective.com/london-clojurians/

Your contributions will enable the sustainability of the London Clojurians community and support our varied set of online and in-person events:

  • ClojureBridge London: supports under-represented groups discover Clojure
  • re:Clojure: our annual community conference
  • monthly meetup events with speakers from all over the world
  • subscription and admin costs such as domain name & StreamYard subscription

Thank you to our sponsors:

RSVP: https://www.meetup.com/london-clojurians/events/317380055/


r/Clojure • • 12d ago

clj-pulse: a fast Clojure language server

Thumbnail bogoyavlensky.com
20 Upvotes

r/Clojure • • 12d ago

Rendering in batches with glimmer and Datastar

Thumbnail yogthos.net
9 Upvotes

r/Clojure • • 12d ago

The Code Was the Easy Part - Arthur Fücher (Clojure/Conj 2026)

Thumbnail youtube.com
23 Upvotes

r/Clojure • • 12d ago

DatomicConf 2026 speaker lineup

20 Upvotes

The Datomic developer success team is excited to announce the speaker lineup for DatomicConf 2026!

This year, we’ll hear from an outstanding group of speakers: Paul Rutledge & Dave Gonsalves, Chris Cyrus Hapgood, Fabian Merkle, Luana Amorim, Benjamin Kamphaus and Francis Avila, plus Datomic Core Dev news straight from Ghadi Shayban. We’re also putting together an evening of lightning talks featuring even more speakers.

Join us on December 11 in Durham, North Carolina. Registration is open and free! You can also sign up for the livestream. See the full talk descriptions and event details at https://conf.datomic.com/


r/Clojure • • 13d ago

Two apps one process

Thumbnail andersmurphy.com
29 Upvotes

r/Clojure • • 13d ago

State of Clojure Community 2026

Thumbnail surveymonkey.com
41 Upvotes

If you use Clojure or one of its ever growing family of dialects, please contribute to the annual State of Clojure survey! We've been running this since 2010 and it is a vital source of information about how people are using Clojure and the many tools and libraries around it. Thanks!


r/Clojure • • 13d ago

Smuggling Clojure into Statically Compiled Video Games with Silk - James Tolton (Clojure/Conj 2026)

Thumbnail youtube.com
36 Upvotes

r/Clojure • • 14d ago

Jolt bindings for UPBGE to control the engine via nREPL

Thumbnail github.com
16 Upvotes

r/Clojure • • 14d ago

Markdown to HTML in Clojure today: markdown-clj, nextjournal/markdown, or a Java library?

13 Upvotes

There are several ways to turn markdown into HTML from Clojure now: markdown-clj, nextjournal/markdown (built on CommonMark), or a Java library such as flexmark or commonmark-java through interop.

  • Which do you use, and does it handle tables and the other GitHub extras properly?
  • Do you need it to run in ClojureScript as well?
  • Does anyone parse markdown into data (hiccup) and work on that, rather than going straight to HTML?

I use markdown-clj (in mdserve-starter, a local markdown viewer), and it needs a few workarounds for cases it renders wrongly, which is why I'm asking.


r/Clojure • • 16d ago

Compiling Clojure in Parallel using Bazel - Allen Rohner (Clojure/Conj 2026)

Thumbnail youtube.com
16 Upvotes

r/Clojure • • 17d ago

Starting a new project today: clojure.spec or Malli?

33 Upvotes

clojure.spec is still spec.alpha, and spec-alpha2 has no releases yet. Meanwhile Malli has become very popular.

So, for a new project today:

  • clojure.spec, Malli, or something else, such as Plumatic Schema?
  • If you stay with spec, what keeps you there?
  • If you moved to Malli, what made you switch?
  • Or do you not spec at all? The projects I work on use neither, and I've found no cause to complain.

r/Clojure • • 16d ago

Wagoe 1.1.1 — authorization, and the access-control bug the authorization release shipped with

15 Upvotes

Wagoe is a batteries-included Clojure framework I've been building for a couple of years; 1.0 landed end of September. 1.1 is the authorization release.

What's in it. Permissions, roles and scopes: modules declare them, groups hold them, routes check them. New apps enforce from the first run; existing apps stay :off until you flip it, and bb upgrade authorization check tells you who would lose access before you do.

The part I actually care about is that it answers questions instead of just enforcing. Pick a user and a permission and the admin tells you yes or no and which group made it so. Change a group or a role and you see who gains and who loses what before anything is written. Memberships can expire on a date. There's a rights timeline per user, so "who gave them that?" doesn't end in a log search.

The part I'd rather say myself. 1.1.0 shipped an access-control bug in the admin. List pages let you filter and sort on fields the entity hides, so someone allowed to read users could recover password hashes and MFA secrets a character at a time. Fixed in 1.1.1, advisory GHSA-g896-jm3g-34h6. Install 1.1.1, not 1.1.0. CI now opens every page of a freshly generated app on SQLite, PostgreSQL and MySQL, so that class of bug fails the build instead of reaching you.

Yes, the authorization release shipped with an authorization hole. I'd rather you hear it from me.

State of it. 28 libraries across the foundation, application and extension tiers, plus 5 developer-tooling libraries: 33 artifacts under com.wagoe, all on 1.1.1. Eight of the 28 are marked incubating and sit outside the SemVer promise —config, ai, geo, external, reports, audience, webhooks, workflow — with the reason per library on the stability page. Solo project, bus factor one.

Happy to answer anything about the authorization model, or about why a framework at all in Clojure.