6 ms·
http://shootout.alioth.debian.org/u64/which-language-is-best.php?gpp=on&java=on&sbcl=on&ghc=on&csharp=on&clojure=on&racket=on&v8=on&hipe=on&lua=on&python3=on&vw
by swannodette 16y ago
http://shootout.alioth.debian.org/u64/which-language-is-best.php?gpp=on&java=on&sbcl=on&ghc=on&csharp=on&clojure=on&racket=on&v8=on&hipe=on&lua=on&python3=on&vw=on&yarv=on&xfullcpu=1&xmem=0&xloc=0&nbody=1&fannkuchredux=1&meteor=0&fasta=1&spectralnorm=1&revcomp=1&mandelbrot=1&knucleotide=1®exdna=1&pidigits=1&chameneosredux=0&threadring=0&binarytrees=1&calc=chart http://shootout.alioth.debian.org/u64/which-language-is-best...
Clojure 1.2.0 is already faster than Racket. Version 1.3.0 will probably bring it close to Go territory on those benchmarks.
For my own work I've found that getting Clojure in the Java ballpark is certainly possible.
- kragen 16y agoYou're right; it looks like Racket is not in the C/LuaJIT ballpark, either. It's too bad the LuaJIT results are no longer on the web site.
- swannodette 16y agoLast Alioth results I saw LuaJIT was slower than Java, and certainly not in the C ballpark at all.
- kragen 16y agohttp://lua-users.org/lists/lua-l/2009-10/msg01098.html http://lua-users.org/lists/lua-l/2009-10/msg01098.html shows LuaJIT beating GCC 4.3.2 on some parts of SciMark, and no more than 3× worse on any part. I'm importing the shootout CVS repository into Git, so hopefully we can make some more definitive comparisons soon.
- swannodette 16y agoThose overall results show that LuaJIT doesn't really compete much the JVM running under server mode.
- kragen 16y agoOn the contrary, although the JVM is always faster, LuaJIT is within about 15% of it on SOR, and never worse by even a factor of 2.
- mikemike 16y agoThat post is ancient ... here are newer SciMark results for LuaJIT: http://lua-users.org/lists/lua-l/2010-12/msg00924.html http://lua-users.org/lists/lua-l/2010-12/msg00924.html
- kragen 16y agoThank you very much! Looks like LuaJIT's beating GCC on almost everything now, and the JVM on most things. But that's with LuaJIT-specialized code that won't run on Lua, which is a little less exciting.
- igouy 16y agohttp://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=racket&lang2=clojure http://shootout.alioth.debian.org/u64/benchmark.php?test=all...
- kragen 16y agoYeah, I was wrong about Racket: http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=racket&lang2=gcc http://shootout.alioth.debian.org/u64/benchmark.php?test=all...