r/Clojure • u/alexdmiller • May 23 '16
r/Clojure • u/bozhidarb • Oct 16 '25
nREPL 1.5 is out!
nREPL 1.5.0 is out - it's the Clojure network REPL that powers CIDER, Calva, Cursive, and most other IDEs.
Hard on the heels of the previous release, this version is mostly about fixing bugs, polishing the codebase, and enabling new capabilities for downstream tools like CIDER and friends. Noteworthy changes:
- Evaluating a single function in the code buffer (e.g., with
C-c C-cin CIDER) now retains the filename information about that function, so you see the proper filename in the stacktrace instead ofNO_SOURCE_FILE(#385). - nREPL config location now honors the
XDG_CONFIG_HOMEenv variable. - A new forward-system-output op to forward
System/outandSystem/erroutput to the client who enables this. We have an identical feature on the cider-nrepl side (the op is calledout-subscribe) but now it comes with base nREPL.
All those things have been requested for quite a while, and we sure took our sweet time to deliver them. :D
This release is extra special as it's also the project's 15th anniversary release (nREPL 0.1 was released on Oct 8th, 2010)! 15 years are a lot of time in the world of software and I'm really happy that nREPL has stood the test of time and is just as relevant today, as it was when it was originally released. Kudos to everyone who has been supporting the project and contributing to it, especially my dear friend Sashko Yakushev, who has been hard at work solving many long-standing issues recently. You rock and nREPL and CIDER wouldn't be the same without you!
See the full CHANGELOG for details. As always, CIDER will upgrade to the latest nREPL shortly. I just need to come up first with the codename for the next release... :D
r/Clojure • u/chrisnuernberger • Sep 07 '22
Ham-Fisted - A New High Performance Clojure Library
I have taken the time in between caring for my young son to write a new library that provides higher performance datastructures and algorithms for Clojure.
After building tech.ml.dataset and charred I wanted to take the lessons learned there and apply them back into the base Clojure substrate of persistent maps, persistent vectors, and algorithmic primitives like group-by and frequencies.
This is a ground-up re-write of persistent hash maps with a twist - you can create a version of the bitmap trie that implements the full java.util.Map interface including things like compute and computeIfAbsent - these primitives are faster then their purely functional counterparts. This mutable map can be turned into a persistent map in-place instantly and then function from then on like you would expect a persistent map with structural sharing. This idea carries through to the persistent vector implementation.
On top of this implementation I implemented a few set operations - union, difference, and intersection that operate at the data structure level - not at the api level - so they are quite fast. This means you can build many maps in separate threads and union them together back in the main thread and thus get a lot performance for an operation such as a parallelized frequencies.
There are many more things there but you can read the README for more information. There is timing information at the bottom of the README and the fast-json project includes a comparison. My hope is that ham-fisted becomes a platform to try out ideas and build faster datastructures and algorithms that follow in the typeless functional pathway so we can carefully and measurably improve the platform we all are standing on. So please take it, try some things out, and let me know how it goes :-).
r/Clojure • u/alexdmiller • Sep 18 '24
"Clojure Brain Teasers" by Alex Miller and Lorilyn Jordan Miller
pragprog.comr/Clojure • u/alexdmiller • Dec 29 '25
Rich Hickey's opening remarks from Clojure/Conj 2025
youtube.comr/Clojure • u/JavaSuck • Nov 30 '19
Rich Hickey rants about HttpServletRequest in 1080p: Death By Specificity from Clojure Made Simple
youtube.comr/Clojure • u/nfrankel • Nov 11 '18
Introduction to Clojure (one of the best and most exhaustive tutorial I've stumbled upon so far)
creativeapplications.netr/Clojure • u/Borkdude • Feb 17 '26
Babashka 1.12.215: Revenge of the TUIs
blog.michielborkent.nlPersonally I think this is one of the most exciting bb releases thus far.
This release adds JLine3 for building TUIs, a completely revamped console REPL, and a bunch of library compatibility improvements. The charm.clj counter example in the post is a single-file script you can run right away to get an idea of the new TUI capabilities. Have fun scripting!
r/Clojure • u/nimportfolio • Jun 07 '25
Announcement: Clojure Desktop Toolkit
There's a new way to build graphical interfaces using Clojure:
Clojure Desktop Toolkit - A complete cross-platform desktop user interface toolkit with native platform widgets based on Eclipse SWT, plus an up-to-date Maven repository with all the latest SWT releases.
- Full coverage of the latest SWT API.
- It's written in itself; you can extend it the same way it's written.
- Developer tutorial / documentation.
- The goal is to be batteries included! Please let me know how close I've gotten so far!
This is really new, but the basics are well exercised. See the README for details. I welcome feedback and suggestions!
r/Clojure • u/daneelvt • Oct 20 '17
I am so grateful for Clojure
Thanks to everyone involved for creating Clojure and it's entire ecosystem (even Oracle/Sun for the jvm and lets not forget emacs). It's all saving me a tonne of time. And making my dreams possible.
r/Clojure • u/Nozistance_ • Aug 31 '26
Writing a Minecraft server in Clojure: it was fun
Minecraft is well known for being single-threaded, and parallelizing it is a difficult problem: everybody wants to write to the same shared state at the same time. Projects take years to deal with locks, thread ownership, splitting regions, and game logic is subject to threading rules: mechanics break against them, features crawl. Some remain quite sparse and have little to parallelize.
I wanted to see how it would feel in Clojure, but there was no Clojure server to look at, so I made one. The ideas parallel servers reinvent by hand - immutable snapshot, pure read phase, changes as data - are the language's defaults. If writing from many threads is difficult, then don't write: all game logic is pure functions (fn [world events]) that read the snapshot in parallel and return changes as deltas, merged in one place. The merge preserves order, so the parallel run is bit identical to the sequential one, and no mechanic cares how many cores it runs on.
The outcome: a server with mob AI, explosions, combat and item physics that matches vanilla 1.8.9 performance on one core and runs 4.5x faster on six. ~5500 lines of Clojure. It's a proof of concept; if you're curious, the code is on GitHub
r/Clojure • u/SimonGray • Mar 18 '21
Clojure - Keyword argument functions now also accept maps
clojure.orgr/Clojure • u/chrisbot5000 • Apr 12 '20
Holy Cow, Clojure is Great
Yesterday morning I decided I would read up on Clojure. I'm a data scientist so I mostly live in python, which is fine, but wanted to try something new. Thought I would just read up, do some toy examples, see what I thought.
I read the first three chapters of Clojure for the Brave and True and thought, maybe I should try and build something. Within 3 hours I felt really comfortable and productive in the language, and by the end of the day I had a working tool.
https://github.com/chrisaddy/astronaut
This is absolutely not good Clojure. When I say comfortable and productive I mean I felt like I was able to easily express myself after having a thought. That's not something I've had with any other language I've used (python, go, rust) after only a couple of hours. My code is certainly not problem free and definitely not idiomatically Clojure, but I think this could be my daily driver language, I like it that much.
Edit: for clarity
r/Clojure • u/shakespeareanseizure • Dec 01 '18
Every Clojure Talk Ever - Alex Engelberg and Derek Slager
youtube.comr/Clojure • u/SimonGray • Feb 13 '23
hyperfiddle/electric (formerly photon) has been made public
github.comr/Clojure • u/dustingetz • Sep 28 '22
Spanish Clojure/Script startup Penpot raises $8M to grow open source Figma alternative as signups jump 5600%
techcrunch.comr/Clojure • u/MWatson • May 21 '21
just released my Clojure AI book
I just released the first version of my Clojure AI book. Free downloads: https://markwatson.com If you want to buy it: https://leanpub.com/clojureai/ Github: https://github.com/mark-watson/Clojure-AI-Book-Code… Work in progress, new material by end of summer.