News for hackers. Stuff that matters.
Re:Why we are choosing Clojure as our main programming language by Turing_Machine on Monday March 21, 2011 @01:31PM (#2350681)
F# on Mono seems to be a lot slower than Java 6, at least in the Shootout (2x to 12x). I don't know how that stacks up to Clojure, though I understand that Clojure can be much more performant with tricks like type hinting.

On the other hand, F# does use less memory.

http://shootout.alioth.debian.org/u32q/benchmark.php?test=al...

Re:Why we are choosing Clojure as our main programming language by icey on Monday March 21, 2011 @01:35PM (#2350699)
I really dislike the shootout, but F# on mono and Clojure (which is slower than plain Java) look pretty similar:

http://shootout.alioth.debian.org/u32/benchmark.php?test=all...

For whatever it's worth, if you like Clojure, use Clojure. If you like F# use that. If you like Perl, Java, PHP, use those. But, if you're going to consider other options hopefully the FUD doesn't get in the way ;).

Re:Why we are choosing Clojure as our main programming language by igouy on Monday March 21, 2011 @05:46PM (#2351759)
If you really dislike the benchmarks game, don't look at the benchmarks game and don't show it to other people :-)
Re:Why we are choosing Clojure as our main programming language by gtani on Tuesday March 22, 2011 @11:33AM (#2354825)
OK, igouy, somebody has to defend the Benchmarks game (!?)

Most FP communities (incl clojure) have devote non-negligible blocks of time to code review and benchmarking to make sure that at the very least poorly written code isnt' submitted (and the right hotspot knobs are on).

http://groups.google.com/group/clojure/browse_frm/thread/d27...

Re:Why we are choosing Clojure as our main programming language by igouy on Tuesday March 22, 2011 @02:05PM (#2355544)
Let's ignore your guesses about "most FP communities" and look at your example -

iirc Andy Fingerhut started benchmarking Clojure programs more than a year before Clojure was even included in the benchmarks game.

https://github.com/jafingerhut/clojure-benchmarks

Here's another thread "Comparing clojure speed to java speed" which has nothing what-so-ever to do with the benchmarks game -

http://groups.google.com/group/clojure/browse_thread/thread/...

(Incidentally, those "hotspot knobs" made the Clojure programs slightly slower but forced collection of the temporary objects that were showing up as much greater memory use than the Java programs.)

Re:Why we are choosing Clojure as our main programming language by igouy on Tuesday March 22, 2011 @01:14PM (#2355294)
I did not "defend the Benchmarks game".

I pointed out how comical it is for someone to declare they dislike (who knows why?) the benchmarks game, and then present the benchmarks game to others as a reliable source of information.

Re:Why we are choosing Clojure as our main programming language by icey on Tuesday March 22, 2011 @04:54PM (#2356435)
I didn't present it as a reliable anything. I pointed out that the parent had linked to the wrong comparison, and linked to the correct one.
Re:Why we are choosing Clojure as our main programming language by igouy on Tuesday March 22, 2011 @05:25PM (#2356583)
I'm happy to be corrected about what you intended us to understand by your comment.

(However, although you provided a different URL you did not point out that you thought the parent had linked to the wrong comparison.)

Re:Why we are choosing Clojure as our main programming language by icey on Tuesday March 22, 2011 @05:27PM (#2356588)
I thought placing emphasis on the correct one was enough; evidently I was mistaken.
Re:Why we are choosing Clojure as our main programming language by igouy on Tuesday March 22, 2011 @07:38PM (#2357112)
The parent was correct about what their link showed - "F# on Mono seems to be a lot slower than Java 6".

You didn't just "correct" the link to show F# and Clojure.

You changed the link from quad-core to single core and that reduced the difference shown between F# on Mono and Clojure.

Re:Why we are choosing Clojure as our main programming language by icey on Tuesday March 22, 2011 @08:00PM (#2357174)
Come on dude, is it that hard to change the dropdown yourself??? The parent was talking about CLOJURE and linked to JAVA's RESULTS

Look, the results aren't usefully different: http://shootout.alioth.debian.org/u32q/benchmark.php?test=al...

Re:Why we are choosing Clojure as our main programming language by igouy on Wednesday March 23, 2011 @10:20AM (#2359456)
You can easily get from the quad-core Java:F# to quad-core Clojure:F# by changing a drop-down but that isn't what you did.

You do seem to be using the what you dislike and what you are not presenting as reliable to suggest "F# on mono and Clojure (which is slower than plain Java) look pretty similar".

If you really dislike the benchmarks game, don't look at the benchmarks game and don't show it to other people :-)