Java > Scala

Somedude lovelydear at mailmetrash.com
Sat Dec 3 01:46:37 PST 2011


Le 03/12/2011 10:19, Somedude a écrit :
> 
> Well, right now, Pypy is indeed 5 times faster than CPython, but it's
> still about 4 times slower than LuaJit and Javascript v8, which are
> comparable in speed with Java (especially LuaJit). And basically, this
> sort of speed is the best that has been done with JIT so far and it
> seems to be quite hard to improve on.
> 
> So maybe they can hope to reach LuaJIT speed in the near future, but
> before reaching C speed, I suppose there is a long way to go.

Still, it's quite remarkable that scripting languages have come from 2
to 3 orders of magnitude slower than native code to only 1 to 2 orders
of magnitude slower, and closer to 1 order with LuaJIT.

Also, automatic memory doesn't have to be wasteful, as Lisp SBCL and
LuaJIT show. According to the Comupter Language Benchmark, they both
consume at least 10 times less memory than Java (more like 20 times for
Lua).


More information about the Digitalmars-d mailing list