Remix.run Logo
▲ nextos 5 hours ago

He has a very elaborate anti-LLM stance: https://www.linkedin.com/pulse/ai-tool-rich-hickey-kjl8e

Sadly, posted on LinkedIn, but in a nutshell, he claims that LLMs are not a tool, they are intrinsic automation.

And by using them, you are kinda giving up.

▲vegnus 5 hours ago | parent | next [-]

I was sad when I read this. I thought Clojure + LLMs was like a match made in heaven for some reason

▲cmiles74 5 hours ago | parent | next [-]

It's one man's opinion, albeit the creator of the language. People will disagree and that shouldn't stop you from doing what works best for you.

Just the other day, someone told me "AI tools can write better code than you, right?", that gave me a chuckle. Yet that attitude is pervasive, I worry it encourages people to let the tool do all of the work. At that point I find myself agreeing with Rich: is it even a tool anymore?

▲superdisk 4 hours ago | parent | prev | next [-]

Hmm, I think the opposite. Clojure is very much a human-first language. It's all very "elegant" and fun to write, at the expense of the machine, and thus is very slow. That's the tradeoff you make. LLMs can spit out mountains of boring old C++ without issue, so having them write Clojure is kinda the worst of both worlds.

▲weavejester 3 hours ago | parent [-]

Optimized Clojure is on par with Java in terms of performance, which isn't hugely slower than C++. More idiomatic Clojure is less performant, but typically you'll optimize the hot paths.

The main advantage Clojure has in LLM use is that it has a good REPL. LLMs are quite fast at writing code; the bottleneck is often the time it takes to compile and test that code, which is higher for most compiled languages than it is for an open REPL. A LLM writing Clojure typically has a faster iteration loop than one writing C++.

And while I have no hard evidence of this, I also wonder if Clojure's general design philosophy of reducing complexity (i.e. interconnectivity) is also a benefit for LLMs. My experience is that LLMs tend to be more effective the more isolated and unconnected a piece of code is, which Clojure is specifically designed around.

▲Zambyte 5 hours ago | parent | prev | next [-]

Interesting, why? Whenever I have used LLMs with Lisps, they always get tripped up balancing parentheses due to the tokenization.

▲devin 5 hours ago | parent | next [-]

The REPL loop is really fast for prototyping. The parens balancing thing hasn't been an issue for like 18 months.

▲casion 5 hours ago | parent | prev | next [-]

Have written millions of lines of lisp with LLMs (mostly clojure). I have never had this issue in any meaningful quantity comparable to forgetting ; or } (which happens, but is very rare and immediately fixed)

▲chuckadams 3 hours ago | parent | next [-]

I've not regularly run into LLMs generating braces wrong, but what they seem to do every damn day is get the boundaries of replacement regions wrong when using sed or python to make text substitutions, which shows up as unbalanced braces. I've always had a hard time getting consistent compliance when I tell them to use structural editing tools only.

▲zdragnar 4 hours ago | parent | prev [-]

IME small models definitely fail horribly with lisps. Qwen code and I think I tried 3.6 both choked on closing parens to the point they struggled to get anything at all to ever be syntactically correct.

▲networked an hour ago | parent [-]

Finally, a justifiable reason to indent Lisp like C.

▲gpderetta 2 hours ago | parent | prev | next [-]

Opus 5.5 seems to be pretty good at elisp (at least as far as results go, I can't comment on the quality of the code).

▲vegnus 5 hours ago | parent | prev [-]

abstraction with macros, minimal syntax (((except these), and giving the LLM direct access to a REPL, to test as stuff is written.

I have used Lisps with LLMs a bit. I toyed around with an indented Lisp I developed with LLMs, to get rid of all the parenthesis, maybe make the LLM more capable of writing it since it looked somewhat closer to Python. I still play around with it, its nice to look at.

▲PUSH_AX 4 hours ago | parent | prev [-]

.

▲vegnus 4 hours ago | parent | next [-]

I actually just started using other Lisps instead. My opinion is not invalidated at all

▲waffletower 4 hours ago | parent | prev [-]

"It’s sadder that a person you’ve never met that you’ve put on a pedestal could invalidate your opinion." While not a world record there are multiple straw men in this sentence -- a fire hazard! I think I invalidated some of the de rigeur anti-AI tropes in Rich's post with my reply.

▲burnte 4 hours ago | parent | prev [-]

Are automations not tools? The same thing can be said about shovels. If you use a shovel, you've given up using your hands, but the shovel is better so why is it bad to give up when you have a better option? Doing everything the hard way isn't intrinsically "better".

▲mightyham 3 hours ago | parent [-]

You should probably read Rich's post before commenting on it.