2 ms·
> It’s as performant as any JVM hosted language. Surely not true if you write it idiomatically using the standard “purely functional” collections.
by School-Cotton 4y ago
> It’s as performant as any JVM hosted language.
Surely not true if you write it idiomatically using the standard “purely functional” collections.
- KingMob 4y agoNo, but it offers a lot of escape hatches to get closer to Java-level performance: transients, mutable fields with deftype, atoms, transducers to minimize intermediate sequences, type-hinting, Java interop, etc. I've seen Clojure sped up to within 20% of Java's speed, at the cost of very un-Clojure-y code.