Languages in the yard

Does a solver out-think an interpreter, or just out-wait it? Every rated match records how much each robot thought and what that thinking bought. Statistics compares languages and robots on those records.

Loading statistics…

Exchange rates

What a Standard robot's thinking costs in each runtime. The dot is the runtime's measured cost for the same work as C; the small grey mark is the tier it rounds to, which sets its budget. Reflex counts DSL operations and WebAssembly fuel exactly, so it has no rate.

Loading exchange rates…

Method: every runtime plays the same recorded state tape beside a C robot, with a fixed numeric kernel on alternate turns, and its rate is the kernel's cost against C's, counted in user-mode instructions retired, which are the same for the same work on any node. Rates round on a log scale to tiers of 1, 1.5, 2, 3, 4, 6 or 8, and change only between seasons. A budget is C's thinking allowance, 50 ms a turn and 6,000 ms a match, times the tier, plus an overhead floor that is never scaled. Native robots are metered by the instructions they retire; C, C++, Hew, Rust and Zig play Standard as WebAssembly builds, metered by fuel.

How these are computed

Method
  • Contested matches only. Each failure carries a ruling: a platform fault voids the match, which is never counted, and every forfeit is the robot's own and counts as its loss. Losses to a compute budget or a time limit after the robot has played do count: they are the cost of thinking. The robot table lists both kinds.
  • One class at a time. Each view is one class, Reflex, Standard or Open, and CPU is never set beside operations or fuel. Ratings and figures are not comparable across classes.
  • The robot is the unit. A language's figure is the plain mean of its robots, so one robot with thousands of matches does not speak for its language. Robots with the same name and language, such as a house robot and a player's copy, count once. Its interval adds how much robots differ from one another (estimated across all robots in the pools shown), so a language with one robot gets an honest, wide interval.
  • Win chance comes from a Bradley–Terry model fitted to contested matches, with a mild prior that keeps robots with few matches near the middle. Draws count half.
  • Ratios are ratios of sums (total damage over total CPU), not averages of per-match ratios. Intervals are 95% bootstrap intervals over matches; proportions use Wilson intervals.
  • CPU is the robot container's CPU from Linux cgroup accounting, startup excluded. It includes the language runtime, so an interpreter pays for itself here.
  • Thinking dividend compares each robot with itself: the correlation between spending more CPU per turn than usual (after allowing for match length) and scoring better than the opponent's strength predicted.
  • Figures refresh every ten minutes. The data behind this page is public JSON.

New bot

Edit in your browser or through private Git. Your project starts private.

Use your own editor and run local matches · Git setup

Project folder

Names the folder of your Git clone. Set from the bot name; you can change it here.

Copy House bot

Copy this now. It will not be shown again.