如何获得“计算机语言基准游戏"的源代码? (以前称为“大语言大战")? [英] How can I get the source codes for the "Computer Language Benchmarks Game" (formerly known as the Great Language Shootout)?

查看:120
本文介绍了如何获得“计算机语言基准游戏"的源代码? (以前称为“大语言大战")?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个学生和我正在建立一个新的口译员家庭,我们希望以此为基准与现有口译员进行比较.我们希望下载包含计算机语言基准测试中使用的所有源代码的tarball或zip文件.游戏.我已经从项目页面,但仅包含一些不适用于Debian lenny的基础架构,以及仅用于2个基准测试的Python源代码.其他所有源代码都是MIA.

A student and I are building a new family of interpreters, which we would like to benchmark against existing interpreters. We would love to download a tarball or zip file containing all the source codes used in the Computer Language Benchmarks Game. I've downloaded the zip file from the project page, but it contains only some infrastructure which does not work on Debian lenny, and Python source code for just 2 benchmarks. All the other source code is MIA.

另一个问题是,无论要求哪种语言,交互式下拉菜单似乎都显示Java源代码.并不是说我想浏览不计其数的菜单;我只想 all 所有来源.

Another problem is that the interactive dropdown menu seems to show Java source no matter what language is asked for. Not that I want to go through a zillion menus; I just want all the source.

我觉得自己很傻,因为找不到源代码,但我找不到. 谁能告诉我我如何下载语言基准游戏中使用的 all 源代码?

I feel like a complete idiot for not being able to find this source code, but I can't. Can anyone tell me how can I download all the source code used in the Language Benchmarks Game?

[NB我相信这个问题是SO的范围,因为对于需要关注性能的程序员来说,基准测试是至关重要的资源.]

[NB I believe this question is in scope for SO because benchmarks are a vital resource for programmers who need to be concerned with performance.]

推荐答案

您下载的zipball用于 bencher 模块.您需要 bench 模块(仅打包为完整回购软件包的一部分).

The zipball you downloaded was for the bencher module. You want the bench module (only packaged as part of the complete repo packages).

要从官方CVS获取基准源:

To get the benchmark sources from the official CVS:

cvs -d :pserver:anonymous@cvs.debian.org:/cvs/benchmarksgame login
cvs -d :pserver:anonymous@cvs.debian.org:/cvs/benchmarksgame checkout benchmarksgame/bench

回购也可以作为 Github上的非官方镜像:

git clone git://github.com/kragen/shootout.git

官方回购tarball: https://alioth.debian.org/snapshots.php? group_id = 100815

Official repo tarball: https://alioth.debian.org/snapshots.php?group_id=100815

非官方镜像仓库zipball: https://github.com/kragen/shootout/zipball/master

Unofficial mirror repo zipball: https://github.com/kragen/shootout/zipball/master

(请参见 http://shootout.alioth.debian.org/play.php#其他)

这篇关于如何获得“计算机语言基准游戏"的源代码? (以前称为“大语言大战")?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆