News for hackers. Stuff that matters.
Re:Why Clojure doesn't need invokedynamic by swannodette on Friday August 26, 2011 @11:26AM (#2928756)
Your claim does not line up with reality. http://shootout.alioth.debian.org/u32/which-programming-lang...

http://blog.dhananjaynene.com/2011/08/cperformance-compariso...

Those Clojure benchmarks in the above post were submitted by me to show that you can get Java/Scala performance.

EDIT: Toned down the rhetoric

Re:Why Clojure doesn't need invokedynamic by tomh- on Friday August 26, 2011 @11:56AM (#2928855)
I think it is interesting you point the parent out for not lining up with reality. Can you elaborate on how the benchmarks in the above posts are a more realistic way to reason about the performance than the experience of the language used in a real life project?
Re:Why Clojure doesn't need invokedynamic by swannodette on Friday August 26, 2011 @12:01PM (#2928867)
These exact same techniques used in these benchmarks are used in "real life" projects, for example this one that I work on: https://github.com/clojure/core.logic

This is a Prolog-like engine that I benchmark against SWI-Prolog (written in C). It comes close on some benchmarks, and surprisingly surpasses on a few.

Re:Why Clojure doesn't need invokedynamic by tomh- on Friday August 26, 2011 @12:32PM (#2928965)
Fair enough, however I don't see a benchmark which measures the performance of Clojure in a situation described as above (dealing with a lot of mutable java objects) compared to other (JVM) languages. He clearly mentioned, for such tasks, clojure is 1000 times slower than Kawa. The fact that Clojure is fast for other types of programming problems is irrelevant for this particular case.
Re:Why Clojure doesn't need invokedynamic by calibraxis on Friday August 26, 2011 @02:18PM (#2929352)
If the poster had could give a (minimal) example to demonstrate their claims, then we could know for sure. Otherwise, we have no idea what the problem was.