On Tue, May 25, 2010 at 12:11 PM, bearophile <bearophileh...@lycos.com> wrote: > Bill Baxter: >> Do you have any citations of that? All I can find on LuaJIT.org is >> comparisons of LuaJIT vs other versions of Lua. > > On my site you can see a version of the SciMark2 benchmark (that contains > several sub-benchmarks, naive scientific kernels, mostly) for D with numerous > timings. LDC is able to compile it quite well. > > You can find a version of that code here: > http://luajit.org/download/scimark.lua > I have compiled the awesome LUA JIT (it's easy) on Linux, and found timings > against ldc, dmd. > I have taken similar timings for another benchmark (nboby, from Shootout > site).
So LuaJIT beats D on some or all of those benchmarks? I can't quite remember what your website URL is. But I did find this: http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=luajit&lang2=gpp I was thinking LuaJIT would be too new and/or fringe for it to be on the Alioth shootout, but it's there. >From that it looks like LuaJIT can't beat g++ for speed on any of the benchmarks. You disagree with those results? --bb