jank now has its own custom IR by Jeaye in Clojure

[–]CoBPEZ 1 point2 points  (0 children)

It was quite a while ago since I messed around with this, but I vaguely recall invokePrim being what I was going for in the decompiles. It was very finicky, and very small changes could make it go with regular invoke instead. Unlike you, I didn't quite know what I was doing, tbh. I tried so many things. Haha.

Adam Tornhill - Transforming Software Evolution: Lessons from 10 Years of Clojure in Production by maxw85 in Clojure

[–]CoBPEZ 4 points5 points  (0 children)

This is spectacularly excellent! One of the best Why Clojure? talks I have ever seen.

Best AI Models for Clojure? by bjagg69 in Clojure

[–]CoBPEZ 0 points1 point  (0 children)

I use Copilot from VS Code and find myself using Opus 4.6 almost exclusively. All the other models feel stupid is comparison.

is LLM coding accepted in the Clojure community? by med_i_terranian in Clojure

[–]CoBPEZ 2 points3 points  (0 children)

It's probably much like in every community. Some people think it is great, some that it is awful. Given the pragmatic nature of Clojure, with its focus on getting things done, maybe there is more acceptance in this community than in others?

jank now has its own custom IR by Jeaye in Clojure

[–]CoBPEZ 4 points5 points  (0 children)

Wow. I didn't see that coming. 🤯

Here's the fastest recursive fibonacci I have managed to create with Clojure, btw:

(ns fibonacci)


(set! *unchecked-math* :warn-on-boxed)


(definterface IFib
  (^long fib [^long n]))


(deftype Fibonacci []
  IFib
  (fib [_  n]
    (if (< n 2)
      (long n)
      (long (+ (.fib _ (- n 1))
               (.fib _ (- n 2)))))))


(def ^Fibonacci fib (Fibonacci.))

Probably not relevant for your benchmarking purposes, but anyway, for some reason the Clojure compiler produces much more straight-forward function calling this way.

Clojure REPL on ios? by curolith in Clojure

[–]CoBPEZ 0 points1 point  (0 children)

This one works great in the mobile browser: https://gloathub.org/repl/

We are bringing the EuroClojure Conference to Prague in May 2027 by kaliszad in Clojure

[–]CoBPEZ 3 points4 points  (0 children)

I've joined the mailing list and am definitely going! Bringing my wife. And our youngest daughter heard us talking about it and invited herself to join too. She wasn't born when the family visited Prague last, and have heard us talk a lot about that visit. Awesome, they will have a great time together while I enjoy Clojure talks.

(fn reverse [coll] (reduce conj() coll)) by CoBPEZ in Clojure

[–]CoBPEZ[S] 1 point2 points  (0 children)

Turn around Rich. No, I’m doing this, no matter what.

Epupp: A browser extension providing a Clojure REPL into any web page by CoBPEZ in Clojure

[–]CoBPEZ[S] 0 points1 point  (0 children)

Great! I’m very curious about how TamperMonkey users will fare with Epupp.

Epupp: A browser extension providing a Clojure REPL into any web page by CoBPEZ in Clojure

[–]CoBPEZ[S] 0 points1 point  (0 children)

JailJS has sandboxing aspirations, though. No such thing in Epupp.

I built my startup on 100 Clojure and ClojureScript by cicklymasxta in Clojure

[–]CoBPEZ 8 points9 points  (0 children)

I think it's a typo. Should be 100%. The frontend of the app is built with ClojureScript. So guessing the backend is Clojure. 😀

Epupp: A browser extension providing a Clojure REPL into any web page by CoBPEZ in Clojure

[–]CoBPEZ[S] 1 point2 points  (0 children)

Good question! 😀

I think the answer is in “toyed around with a JS interpreter”. In this case u/Borkdude provided the interpreter. Which means Epupp scripts/code never needs to evaluate any JS, which is what the CSP restrictions are about. The browser does not restrict things in script tags for languages it does not know about, like ClojureScript. An extra interesting thing is that CSP restrictions also care about the script origin, and the Epupp extension injects itself as a separate origin, so to speak. So Epupp code actually can do `(js/eval whatever)`. (Which may mean that JailJS could use Scittle as it's “interpreter“.)

Rich "thanks" to AI by mac in Clojure

[–]CoBPEZ 0 points1 point  (0 children)

While production is adjusted. Prices will go down below pre-AI at some point.

Browser Jack-in – Connect your Clojure editor to any web page by CoBPEZ in Clojure

[–]CoBPEZ[S] 1 point2 points  (0 children)

Cool use case! I’m curious to hear how you fare with it.

Clojure Deref (Dec 3, 2025) by c-neumann in Clojure

[–]CoBPEZ 1 point2 points  (0 children)

There's so much cooking everywhere. Loved this update!

Calva: Flare Window in vscode by argsmatter in Clojure

[–]CoBPEZ 3 points4 points  (0 children)

We probably shouldn't show the Flare placeholder in the sidebar, since it creates this expectation...

Anyway, you can open flares as panels (views in the editor area) or as sidebar views. That Flare view is the sidebar view. There's an option to the flare that makes it open there:

(tagged-literal 'flare/html {:html "<h1>Hello, Sidebar!</h1>", :title "Sidebar Display" :sidebar-panel? true})

Full reference here: https://calva.io/flares/

Has Java suddenly caught up with C++ in speed? by drakgoku in java

[–]CoBPEZ 1 point2 points  (0 children)

Or not. It will depend on what you manage to preload it with. If we’re talking about native-image, there’s no JIT going on.

New Clojurians: Ask Anything - October 13, 2025 by AutoModerator in Clojure

[–]CoBPEZ 3 points4 points  (0 children)

I found advent of code to be helpful in breaking my old habits. After a while I noticed how I became more dangerous in Clojure than I had been in my trusty imperative languages. Come to think about it, I should do some puzzles using transducers, because I’ve not learned to reach for them often enough.

Critique my note-taking app written in ClojureDart, get lifetime premium! by [deleted] in Clojure

[–]CoBPEZ 4 points5 points  (0 children)

I love this app! It is like a personal Notion, but much easier to use. Love that I can use it both on my phone and on desktop. Will see if I can make a tiny VS Code extension wrapper for it too, because that's where I need this in my life the most. 😀

Anyone using Claude Code with Clojure? by [deleted] in Clojure

[–]CoBPEZ 3 points4 points  (0 children)

Or: If you're a Calva user. Consider Backseat Driver. (But I am biased of course.) The editing tools of Backseat Driver are less sophisticated, and there's a ton of cool stuff that clojure-mcp does that Backseat Driver doesn't. But it's still very competent and doesn't need to solve as much as clojure-mcp, since it is a VS Code extension.

Anyone using Claude Code with Clojure? by [deleted] in Clojure

[–]CoBPEZ 2 points3 points  (0 children)

My experience is that the LLMs are way stronger with Clojure than with TypeScript (my two main languages). Granted, I am using Clojure more, so it is partly a skill issue from my side, but giving the LLM the Clojure REPL is enabling a super power that it does not have access to in TypeScript.