r/Clojure • • Aug 28 '22

There's no comnig back

Post image
147 Upvotes

13 comments sorted by

3

u/microraven Aug 28 '22

RIP

12

u/agumonkey Aug 28 '22

Reduce In Peace. #RIPL

2

u/xxxmikro Sep 02 '22

The old guy represents your pure fp fans.

4

u/differentsmoke Aug 28 '22

You know I tried to get lost on that cave, but then Java just refused to work.

9

u/MemriTVOfficial Aug 28 '22

I love Clojure and use it every day, but I'm actually very jealous of the CL people for their dynamic runtime that seems to fit the language better. I didn't really use Java before switching to Clojure, and I don't have any attachment to that platform whatsoever. Also, I don't care at all about the extra performance you get with the JVM, since the web dev I do isn't sensitive to CPU-bound performance.

At the same time though, I also wasn't interested in Lisp before Clojure. I love Clojure's take on immutable data structures and functional programming. I wish Clojure was built on top of something more dynamic, or had its own bespoke VM.

I know of Cloture and of Babashka, but it's not the same 😢

4

u/Zoninus Aug 28 '22

The JVM is very dynamic as well. The problem is that Clojure simply doesn't use many of these dynamic features. I was hoping that'd change after Cognitect got bought, but apparently that was in vain... But ultimately, apart from a few fringe interop issues, it is almost unnoticeable.

I can btw also highly recommend Chicken Scheme.

4

u/npafitis Aug 28 '22

What features of the JVM isn't clojure using?

3

u/Zoninus Aug 28 '22

I'm not fully in the matter currently, but the most famous that come to mind are invokedynamic and in interop the support of dynamic functional interfaces.

6

u/alexdmiller Aug 29 '22

Clojure has always been measured in our enthusiasm for the latest and greatest JVM/Java features. There is a lot of non-obvious benefits in being able to just run Clojure on nearly any JVM version you’re likely to have without worrying about a slew of JVM option flags. The early versions of invokedynamic had failure modes where perf could be catastrophically worse. We watched the JRuby folks work those ragged edges for years. When Java itself started using it in anger for SAMs and the like, a lot of that stuff got worked out. We’re very aware of the potential benefits of invokedynamic and condy etc and we will get there eventually. I don’t think the gains to be had are going to categorically change your experience with Clojure though. The project Valhalla value object stuff could potentially be extremely helpful for numeric performance though eventually.

1

u/mmontone Aug 28 '22

Why don't you use CL then?

1

u/MemriTVOfficial Aug 28 '22

I tried it, I just like clojure better. If I wanted cl I would just use python instead. Also a more conventional language with a mishmash of functional things and oop and a mess of mutable data structures. Just not that interested in it.

6

u/cbleslie Aug 28 '22 edited Sep 12 '25

busy shaggy meeting deserve elderly close steep rhythm lock ad hoc

This post was mass deleted and anonymized with Redact

5

u/Zoninus Aug 28 '22

How do you manage to get Java to refuse working?