19 points · by icey · 17y ago · 9 comments
It was pointed out on there that this is not only a language comparison but a data structure comparison as well. Also, there are no type hints in the Clojure code. Without type hints it would be expected to run significantly slower. It's still an interesting comparison because you would generally only use type hints in performance bottlenecks. I'd be especially interested in seeing what kind of difference it would make in this case.
I wonder how clojure would have done with the new transients syntax (http://clojure.org/transients).
Here's the code http://donnieknows.com/blog/sbcl-fast
It seems to me that Scala is becoming the de facto Java replacement; which strikes me as nothing but a good thing.