News for hackers. Stuff that matters.
Re:Rust on Computer Language Benchmarks Game by frik on Thursday February 13, 2014 @02:53PM (#7233809)
I always wondered why LuaJIT 2, HHVM (HipHop PHP) and PyPy are missing.

That's sad. Someone should fork it... would be great.

Another good benchmark that compares them all: http://www.techempower.com/benchmarks/#section=data-r8&hw=i7... (found it on HN some month ago)

Re:Rust on Computer Language Benchmarks Game by alayne on Thursday February 13, 2014 @02:56PM (#7233833)
igouy pretty much gets nothing but grief maintaining the shootout. He's told people for years that they should publish their own numbers for different language implementations. Never happens, just complaints.
Re:Rust on Computer Language Benchmarks Game by frik on Thursday February 13, 2014 @03:06PM (#7233900)
LuaJIT, PyPy and HHVM are common and well know. If it is true that they devs contacted him and he refused to add it, that's sad.

I know maintaining a project like that is a lot of work. But adding superior implementations of already featured languages should be a piece of cake. Source code of Python, PHP and Lua is already in the repo, it's just a matter of installing the VM's on the computer and modify the scripts.

Beside, if the maintainer reads this, please keep up the good work, and maybe add LuaJIT, PyPy and HHVM. Thanks.

Re:Rust on Computer Language Benchmarks Game by igouy on Friday February 14, 2014 @10:58AM (#7239185)
Beware of trolls.

PyPy was shown (on my initiative) and I asked for (and published) programs that would work with PyPy. For example check the comments here -- http://morepypy.blogspot.com/2010/03/introducing-pypy-12-rel...

LuaJIT was also shown; HHVM was never shown.

http://web.archive.org/web/20110125034347/http://shootout.al...

Re:Rust on Computer Language Benchmarks Game by awj on Thursday February 13, 2014 @03:59PM (#7234289)
> it's just a matter of installing the VM's on the computer and modify the scripts.

That can be a pretty huge "it's just". In practice many of the existing scripts make use of C bindings or rely on odd behaviors that aren't replicated by alternate VMs. Since the alternate implementation, benchmark programs, and benchmark tools are all available, I'd recommend you put your theory to the test. It'll either prove eye opening or make for a nice contribution back to the game!

Re:Rust on Computer Language Benchmarks Game by frik on Friday February 14, 2014 @03:18AM (#7237517)
> many of the existing scripts make use of C bindings or rely on odd behaviors that aren't replicated by alternate VMs

HHVM is compatible with PHP 5.3, LuaJIT with Lua 5.1 and PyPy with Python 2.7.3. All benchmark code is written the languages code and sometimes relies on an language extension library (which is written in C or C++). But three above JIT VMs come with their own compatible language extension libraries or support the extension API.

Look at the code, it should be easy: http://benchmarksgame.alioth.debian.org/u32q/benchmark.php?t... and https://github.com/kragen/shootout/tree/master/bench

Re:Rust on Computer Language Benchmarks Game by igouy on Friday February 14, 2014 @11:03AM (#7239206)
"If you're interested in something not shown on the benchmarks game website then please take the program source code and the measurement scripts and publish your own measurements."

http://benchmarksgame.alioth.debian.org/play.php#languagex