Most speed contests let you pick the fastest tool. Speed Demon Part II takes the tool away. You get Lua, Perl, Tcl, Bash, AWK, Forth, SNOBOL4, Algol 68 and 18 more interpreted languages, every JIT switched off, and one question: how fast can you make it anyway?
The rules in one minute
- 26 interpreted languages, one pinned interpreter each, every JIT off.
- No FFI, no native modules, no subprocesses. The speed has to come from your code.
- Teams of 1 to 4. Each of the four tracks can use a different language.
- One Hetzner machine (i5-13500 class) runs every timed run of every team, on the same cores, one run at a time.
- AI tools are allowed, with no disclosure rule.
The four tracks
Each track ships a naive reference (the snail) in every allowed language. Your entry is timed against the snail in the same language, so Bash competes with Bash, not with C.
- Ingest. Read 310,000 web server log lines. Per endpoint and hour, report request counts, p50, p95 and p99 latency, and the 5xx error rate.
- Index. Index 25,000 documents, then answer 5,000 Boolean and exact-phrase queries. Build time and query time count as one.
- Join. Parse a hostile CSV (quoted commas, embedded newlines, mixed line endings, stray byte-order marks), then join 332,000 records to 200,000 regions.
- Traverse. Load a weighted directed graph of 174,051 nodes and 500,000 edges, then answer 200 shortest-path queries.
Each track scores 0 to 100 on time, peak memory (RSS) and code size. A car scores 0 to 400.
Your score is a car
Every push to your repository is built and run on the box, the output hash is checked, and the result sets your car's top speed: half the score in mph, so 400 points is 200 mph. The car laps San Francisco for 48 hours, live in real-time 3D, with fuel, tyres and a 70 mph limit in the Baker-Barry tunnel. A good push refuels 25%. A failed push cuts speed by 1%, and each one stacks.
Prizes
$2,000 in total: P1 $700, P2 $300, P3 $150, plus fastest lap, most hours leading, comeback, class winners, sector bests, and an Underdog prize for the fastest car with all four tracks in the 10 slowest languages (Bash, Vim script, XSLT, Jsonnet, R, SNOBOL4, Tcl, Perl, Prolog, Algol 68).
Dates
- 27 January 2027: repository public, rules final
- 29 January, 15:00 UTC: kickoff, practice and qualifying
- 30 January, 15:00 UTC: green flag, the 48-hour race
- 1 February, 15:00 UTC: chequered flag
Part I ran from 30 October to 2 November 2026 with any language: 144 teams, 9,908 pushes, 36,948 timed runs on one machine. Part II is the slow-language edition.
Site and registration: https://speeddemon.dev/2027/
Which language would you take into the race, and which track would hurt most in it?



Top comments (7)
excited!!
AWK on the Ingest track is almost unfair, counting log lines per endpoint per hour is literally what it was born for
The speed has to come from your code.In Bash the first thing that eats a 310k-line ingest is not speed, it is the pipeline:cat logs | while read -r l; do n=$((n+1)); done; echo $nprints 0 and exits 0, because that loop ran in a subshell. Usewhile read -r l; do ...; done < logs(no fork, no subshell) orshopt -s lastpipewith job control off, otherwise your fastest timed run and your correctness hash both come back green on an empty result.Traverse in Bash is the one that would hurt most for me — 174k nodes and 500k edges with no real data structures, just associative arrays and hope, and 200 shortest-path queries on top. AWK on Ingest is the free square, like syedfahads said. The scoring detail I like most is the failed push costing 1% and stacking — it quietly turns the race into a discipline contest, not a speed contest. One question: with AI tools allowed and no disclosure, do you expect the winning entries to basically be 'prompted well and iterated fast', or does the no-JIT, no-FFI constraint keep the human in the loop?
I’d take Perl into Join. Not because it magically makes CSV easy, but because the hostile cases listed here punish the usual “split on comma and hope” approach immediately. Embedded newlines mean the parser has to be record-aware, not just line-aware.
The optimization budget I’d watch is the parser’s state transitions: read in chunks, avoid rebuilding the same field string, and only materialize the columns needed for the join. Also nice to see output hashes checked — with this much pressure on speed, a fast wrong answer would otherwise look very attractive.
Taking away the JIT and making people squeeze speed out of Bash is such a fun constraint. You learn way more about what actually costs time when the language can't save you. Looking forward to the results.
excited..