Part II · Golden Gate Grand Prix

A hackathon for slow languages

Make Lua, Perl, Tcl and 23 more interpreters fast, with every JIT switched off. A practice day, then a 48-hour race around San Francisco, live in real-time 3D. Every push sets your car's speed, up to 200 mph. $2,000 in prizes.

Kickoff
29 Jan 15:00 UTC
Freeze
1 Feb 2027
Where
Online
Naive fib · gap to CJIT off
PLanguageGap× C
—C, gcc -O2 (pace car)×1.0
1Forth×26
2Lua 5.4×28
3PHP×32
4Guile Scheme×45
5Emacs Lisp×48
6Smalltalk×59
7Ruby×64
8AWK×73
9Gleam×85
10Elixir×94
11PostScript×101
12Erlang×111
13Common Lisp×121
14Janet×130
15Raku×233
16Nix×288
17Algol 68×291
18Prolog×292
19Perl×293
20Tcl×390
21SNOBOL4×424
22R×518
23Jsonnet×939
24XSLT×1,905
25Vim script×4,098
26Bash×18,769

Naive fib vs C on an Apple Silicon laptop in Docker, one core, median of 5. Not the event box. All 26 languages

01Connect

Your repository is your car

Register your team, then install the Speed Demon GitHub app on one repository. From then on that repository is your car. Each push you make is read by the box, run, and turned into your car's speed.

Your repository · your carIllustration
$ git clone github.com/your-team/speed-demon-ii
install the Speed Demon app on this repository  done
$ git push origin main
the box picks up the new commit  3d1e2f0
your car is on the grid
The waterfront start line: a long avenue between towers, the ferry clock tower at its end
  1. 1

    Register1 to 4 people

    Your team on the form

    One to four people per team. Each team races one car under one name.

  2. 2

    Installread-only

    The Speed Demon GitHub app, on one repository

    Read-only access; nothing is written back. Install link out 27 January.

  3. 3

    Pick26 languages

    A language for each of the four tracks

    26 slow languages, every JIT switched off. Mix them across the tracks.

  4. 4

    Pushevery commit

    To your default branch, as often as you like

    The box builds and runs each new commit, then sets your car's speed.

  5. 5

    Race48 hours

    Your score becomes your car's speed

    Your car laps San Francisco for 48 hours, live in real-time 3D.

02Your language

26 languages, every JIT off

Pick a language for each track. One pinned interpreter per language, with the switch that keeps it slow. No FFI, native modules or subprocesses.

Naive recursive fib · per call, against CPick a row
PLanguageGap× C
—C, gcc -O2 (pace car)×1.0
1Forth×26
2Lua 5.4×28
3PHP×32
4Guile Scheme×45
5Emacs Lisp×48
6Smalltalk×59
7Ruby×64
8AWK×73
9Gleam×85
10Elixir×94
11PostScript×101
12Erlang×111
13Common Lisp×121
14Janet×130
15Raku×233
16Nix×288
17Algol 68×291
18Prolog×292
19Perl×293
20Tcl×390
21SNOBOL4×424
22R×518
23Jsonnet×939
24XSLT×1,905
25Vim script×4,098
26Bash×18,769

Naive recursive fib, timed against C at gcc -O2. Measured 1 to 2 Dec 2026 on an Apple Silicon laptop in Docker: one core, median of 5. Not the event box.

One lap of San Francisco, same naive codeLua 5.4
C · GCC -O2 LUA 5.4

C laps

0

Lua 5.4 laps

0.00

The whole lap from above: the city grid, the Golden Gate Bridge and the Marin hills across the bay

03Your car

Your choices paint your car

Your car shows how your team builds. The AI agent you use and the languages you pick go on the car as stickers. One small file in your repository sets them.

On the Golden Gate deck, an orange car with the Claude Code mark on its door passes a white car with the OpenAI mark
Where it goesSide view
122345
  1. 1DoorsYour AI agent
  2. 2Hood, sides, trunkYour 4 track languages
  3. 3WindshieldYour text, in your font
  4. 4RoofYour GitHub avatar
  5. 5Paint and numberSet when you register

04Your code

Four tracks. Beat the snail.

Each track ships a naive reference in every allowed language. That reference is the snail: your entry is timed against the snail in the same language, so Tcl races Tcl and Lua races Lua.

Track 1: ingest a log file

Read 310,000 web server log lines. Per endpoint and per hour, report request counts, p50, p95 and p99 latency and the 5xx error rate. Paths carry templated parts like {key}, and the hour comes from each timestamp.

Input sample310,000 log lines
# requests.log
2026-10-30T18:00:00.000000Z GET /mobile/v4/exports/{key}/return-labels 2…
2026-10-30T18:00:10.271195Z POST /beta/saved-searches/{slug}/resend 200 …
2026-10-30T18:00:04.399093Z POST /v2/invoices/count 200 33249
Naive version Lua 5.4
for line in io.lines(data_dir .. "/requests.log") do
  local parts = split(line)
  local y, mo, d, h, mi, s, us =
    parts[1]:match("^(%d+)-(%d+)-(%d+)T(%d+):(%d+):(%d+)%.(%d+)Z$")
  local hour = string.format("%04d-%02d-%02dT%02d:00:00Z",
    tonumber(y), tonumber(mo), tonumber(d), tonumber(h))
  local key = hour .. " " .. parts[3]
  if latencies[key] == nil then
    latencies[key] = {}
    errors[key] = 0
  end
  table.insert(latencies[key], tonumber(parts[5]))
A faster entry Lua 5.4
local f = assert(io.open(data_dir .. "/requests.log", "rb"))
local data = f:read("a")
f:close()

local hours = {}   -- "YYYY-MM-DDTHH" -> endpoint -> {latencies..., errors in .e}
local tonumber = tonumber
for hour, ep, s, lat in data:gmatch("(%d%d%d%d%-%d%d%-%d%dT%d%d)%S* %u+ (%S+) (%d)%d%d (%d+)\n") do
  local eps = hours[hour]
  if not eps then eps = {}; hours[hour] = eps end
  local g = eps[ep]
  if not g then g = {e = 0}; eps[ep] = g end
  g[#g + 1] = tonumber(lat)
  if s == "5" then g.e = g.e + 1 end
end
Naive0.89 s
Faster0.32 s
Speed-up2.8×
How · same output hashGrab hour and endpoint with one fixed pattern; skip timestamp parsing.

Example code written for this page, not the 2027 references. Sample-scale data from the 2026 generators, one core in Docker on a laptop, median of 3. Both versions print the same output hash as the Python reference.

05The box

One machine runs every entry

You push to GitHub. The harness builds your image, runs it on the same dedicated box as every other team, checks the output hash and puts the time on the live board.

Track A · Lua 5.4 · recorded runreplay
$ git push origin main
build  rsbench-deb13 · Lua 5.4 · image pinned
$ run naive.lua --data /data
wrote summary.txt  0.89 s
sha256 be463b4df773bee1…  match
$ run fast.lua --data /data
wrote summary.txt  0.32 s
sha256 be463b4df773bee1…  match
speed-up against the snail  2.8×
Downtown San Francisco at 45 degrees: the Transamerica tower, the towers and the piers along the bay
  • BoxOne dedicated Hetzner machine, i5-13500 classEvery timed run of every team, on the same cores, one run at a time
  • ImagesPinned by digest, one per languagePublished with the repository on 27 January, so you test on the same image
  • JITKill switch set in every image--disable-yjitMVM_JIT_DISABLE=1opcache.jit=offBEAM emu
  • HoldoutA private seed after the freezeEvery team that passes the freeze runs once more on data nobody has seen
  • Copies85% similarity scores 0Checked at freeze against all teams and every Part I repository

06Score to speed

Score is speed, up to 200 mph

Each track scores 0 to 100, so a car scores 0 to 400. That total is its speed: 400 points is 200 mph. The first 24 hours are practice and qualifying: cars drive real laps on the 3D track, with fuel, tyres, lights and pit stops, but those laps do not count. Your speed at the end of practice sets your slot on the starting grid. Then the green flag drops and the cars lap San Francisco for 48 hours: from the waterfront, over the Golden Gate Bridge into Marin and back, 23.5 miles a lap. The car in front at the chequered flag wins.

Speed and laps: 24 hours of practice, 48 hours of raceIllustration
Hour 72.0
  1. Car 3 used practice well. It never had the top speed, but it was at 115 mph when practice ended, so it started the race from pole.
  2. Car 7 pushed a wrong answer at hour 47. Its speed fell 1%, from 150 to 148.5 mph. The next valid push, at hour 49.5, made it a 180 mph car.
  3. Car 12 joined a day late. Its first push came at hour 23, before the green flag, so it lost no laps. Its fastest car came at hour 58: too late for the podium.

How a push moves your car

  1. 01PushThe box builds each new commit, runs the four tracks, checks hashes.
  2. 02ScoreEach track scores 0 to 100 on time, memory and code size. Up to 400 in all.
  3. 03SpeedTop speed is half the score in mph. The latest valid push sets it.
  4. 04LapsOne lap is 23.5 miles. Red lights, limits, empty tanks and pits cost time.
  • Timevs naive
  • Memorypeak RSS
  • Code sizelines, scc

Push rules draft, final 27 January

Failed push
1% less speed, no fuel. Each one stacks.
Latest push
It sets the speed, even if slower. Laps stay.
Grand Chelem
Four tracks, four languages: 10% more speed.
Black flag
A private seed after the flag. Wrong answer, out.
Stewards
Humans plus Sol, Opus and Gemini Neon.

07On the track

Fuel, tyres, lights, limits

The race runs live in a real-time 3D San Francisco, right in your browser: every team's car, the Golden Gate Bridge, the tunnel and the pit lane. Your speed is the most your car can do. On the track it also burns fuel, wears its tyres, stops at red lights and slows down in two speed-limit zones: 125 mph on an open stretch and 70 mph in the tunnel. The same rules hold for every car. A push is the only thing a team does.

Cars queued at a red traffic light between towers
A 125 speed-limit sign beside the road, cars passing
The race road on the deck of the Golden Gate Bridge, the Marin hills behind

Car

Fuel

A full tank: 8 h at 200 mph, 16 h at 100 mph.

Each git push of a new commit that builds and passes the hash refuels 25%. Failed, wrong or unchanged pushes add nothing.

Car

Empty tank

The car is capped at 50 mph.

Until your next good git push. A ceiling only: a car at 0 mph stays at 0. To stay fuelled, push every 2 hours at 200 mph, every 4 at 100.

Car

Tyres

Tyres wear with every mile.

A 200 mph car wears its tyres out in about 2 hours. It pits at its next pass for a 3-minute stop. No team action needed.

Lap

Traffic lights

Three lights, each on a 90-second cycle.

Red for 10, 25 or 45 seconds. Every car stops at red, fast or slow. The cycles are fixed and the same for every car on the grid.

Lap

Speed limits

125 mph on one stretch, 70 mph in the tunnel.

The Baker-Barry tunnel in Marin, 744 m long, is the slow one. Fast cars lose the most time in both zones, so the pack closes up.

Weekend

Practice and qualifying

Every car starts at 0 mph.

It moves after its first good push. Practice laps are real but do not count. Your speed at the end of practice sets your grid slot.

Draft numbers, final on 27 January.

08Dates

Race weekend, 29 Jan to 1 Feb

27 Jan

Repository public

Specs, references in every language, the harness. Rules final.

29 Jan15:00 UTC

Kickoff, practice, qualifying

Full datasets land. Push as often as you like: cars drive real laps on the 3D track, but none count yet. Your speed at the end sets your grid slot.

30 Jan15:00 UTC

Green flag

The 48-hour race starts. Cars line up in qualifying order, fastest on pole, from zero laps, on a full tank and fresh tyres.

31 Jan15:00 UTC

Race hour 24

The comeback count starts: positions gained from here to the flag.

1 Feb

Chequered flag

At 15:00 UTC the cars stop. Every car runs once more on a private seed.

February

Podium and race replay

Stewards verify the podium, then the 48-hour race is replayed on Twitch.

The race road winding through the Marin hills, the Golden Gate Bridge and the bay behind

09Prizes

$2,000 in prizes, fixed in advance

Prize boardUSD
  1. P1First at the flag$700
  2. P2Second at the flag$300
  3. P3Third at the flag$150
  4. FLFastest lapShortest time for one full lap$100
  5. LEDMost hours leadingLongest time in P1 during the race$100
  6. CBComebackMost places gained in the last 24 hours$100
  7. CLSClass winnersA car that uses one language on all four tracks races in that language’s class. The 3 classes with the most cars each pay their best car.3 × $50
  8. SECSector bestsBest score on each track at the flag4 × $50
  9. UDGUnderdogFastest car with all four tracks in the 10 slowest languages: Bash, Vim script, XSLT, Jsonnet, R, SNOBOL4, Tcl, Perl, Prolog, Algol 68$100
  10. JDGJudges' awardsBest write-up, best engineering2 × $50
Total$2,000

A team wins at most a podium place and one more award. If it tops a second category, that award passes to the next team in line, so the money spreads across the grid.

A yellow low-poly car on a sunlit road
A crowd cheering by the finish line gantry, the track curving away between towers

10Part I

Part I in 2026: Rust and C++

Speed Demon 2026 used the same four tracks with any language. Most teams reached for a compiler. Part II keeps the tracks and leaves the compilers out.

144teams on the board
9,908pushes in 72 hours
36,948runs on one machine
Rust87
C++68
Python23
C13
Go3
Java1

Teams whose scored code is at least 10% in that language, from the 2026 board. A team can count twice.

The downtown skyline and the piers seen from over the bay

11FAQ

Questions about the hackathon

What goes in .speed-demon.yaml?

Every repository carries one at the root. It names the AI agents that write your code, or human, and sets the text on your car’s windshield: up to 24 characters in one of four fonts. A push without a valid file counts as a failed push. Agent logos, your track languages and a random 4-digit car number then show on your car in the 3D race.

Can I use AI tools in the hackathon?

Yes, and you should. Use any model, agent or coding tool you like, with no disclosure rule. AI companies are welcome to enter as a company: put your best engineers on one team, register it under the company name and race the other labs on the same box.

Can each track use a different language?

Yes. Each track is scored against the naive reference in the language you chose for it.

Why is the JIT off in every language?

A JIT turns a slow language into a fast one. Ruby runs with YJIT disabled, Raku with the MoarVM JIT off, PHP with the OPcache JIT off, and Erlang, Elixir and Gleam on the BEAM interpreter.

What happens if my new push is slower?

Your car slows down to the new score from the moment you pushed. The laps you already drove stay. Push again to speed up. A push that fails to build or gives a wrong output hash does not set a new score: it cuts your speed by 1%.

Do I lose laps if I start late?

Not if you push a valid run before the green flag on 30 January at 15:00 UTC. The first 24 hours are practice and qualifying: cars drive, but no laps count, so a team that joins a day late starts the race level. Only its grid slot depends on its speed at the end of practice. After the green flag, a car with no valid run stays on the grid and loses laps. Fastest lap, sector bests, class and judges' prizes do not depend on laps. Fuel and tyres reset at the green flag.

What happens if my car runs out of fuel?

It is capped at 50 mph until your next push that builds; a car already slower keeps its own speed. One good push every 2 hours keeps a 200 mph car fuelled. Each such push adds 25% of a tank. A 200 mph car burns 25% in 2 hours, so one push that builds every 2 hours keeps it full. A push with no code change adds no fuel.

Do I have to do anything at a pit stop?

No. When the tyres are worn, the car takes the pit lane at its next pass, stops for 3 minutes and leaves on fresh tyres. Lights, speed limits and pit stops are the same for every car.

Can a team run more than one car?

No. One team, one car. Each track can still use a different language.

How does the holdout run work?

After the chequered flag, every car's final code runs once on a private seed. A wrong answer is a black flag: the team leaves the results.

Where do the fib numbers on this page come from?

We ran a naive recursive fib in each language, JIT off, on a laptop in Docker, and divided its time per call by C's. They show how far each interpreter starts behind. The event box will be faster, and the ratios will move.

When are the rules final?

On 27 January, when the repository goes public. After that only announced bug fixes change.

Anything else: ask in the event Discord.

Register your team for Part II

Kickoff 29 January 2027 at 15:00 UTC. Online.