Sun, 04 Jul 2010 04:32:14 +0200, Sturla Molden wrote:
> I was just looking at Debian's benchmark. LuaJIT is now (on median)
> beating Intel Fortran! Consider that Lua is a dynamic language very
> similar to Python. I know it's "just a benchmark" but this has to count
> as insanely impressive.

I guess you're talking about shootout.alioth.debian.org tests?

> Beating Intel Fortran with a dynamic scripting
> language... How is that even possible?

It's possible that in the cases where Lua wins, the Lua code is not 
completely equivalent to the Fortran code, or uses stuff such as strings 
for which Lua's default implementation may be efficient.

At least in the mandelbrot example some things differ. I wonder if Lua 
there takes advantage of SIMD instructions because the author of the code 
has manually changed the inmost loop to process two elements at once?

-- 
Pauli Virtanen

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to