News for hackers. Stuff that matters.
Re:Learning Common Lisp to beat Java and Rust on a phone enc... by ludston on Friday October 01, 2021 @08:55PM (#28725018)
You're going to be severely constrained by the fact that idiomatic clojure code uses immutable data structures which cannot theoretically be as fast as mutable ones in sbcl. Even with transience, the Clojure hash map trie is an order of magnitude slower than sbcl's hash table.
Re:Learning Common Lisp to beat Java and Rust on a phone enc... by NoahTheDuke on Friday October 01, 2021 @09:20PM (#28725171)
Of course. I don't mean to imply that optimized Clojure could match optimized Common Lisp, just that the disparity wouldn't be quite as stark. For truly speed-focused code on the JVM, you have to write speed-focused Java.