DEV Community

Cover image for 26 slow runtimes, every JIT banned: the full grid for an optimisation race
Hackathon Raptors
Hackathon Raptors

Posted on

26 slow runtimes, every JIT banned: the full grid for an optimisation race

Most speed contests let you pick the fastest runtime. Speed Demon Part II pins one stock runtime per language, the one that keeps it slow, and bans every faster path. Here is the full list, because the bans are the interesting part.

A car on the Golden Gate Bridge in the Speed Demon II race

The scripting four

  • Perl: stock perl. Banned: XS and C modules.
  • Ruby: CRuby (YARV), YJIT off. Banned: YJIT, ZJIT, C extensions.
  • PHP: Zend VM, OPcache JIT off. Banned: the JIT, C extensions.
  • Lua 5.4: PUC Lua, a bytecode VM. Banned: LuaJIT, C modules.

The rest of the grid

  • Tcl: tclsh. Banned: critcl, C extensions.
  • Raku: Rakudo on MoarVM, JIT off. Banned: NativeCall.
  • Erlang, Elixir, Gleam: the BEAM emulator built without its JIT. Banned: BEAMJIT, NIFs, ports (and Gleam's JavaScript target).
  • Guile Scheme: JIT off. Common Lisp: CLISP bytecode, no SBCL, CCL or ECL. Emacs Lisp: emacs --batch, no native-comp.
  • Janet, GNU Smalltalk, SWI-Prolog, gforth, Algol 68 Genie, CSNOBOL4, GNU R, mawk.
  • Bash with builtins only, legacy Vim script, Ghostscript with -dSAFER, Nix via nix-instantiate --eval, C++ jsonnet and xsltproc (XSLT 1.0).

No FFI, native modules or subprocesses anywhere. The speed has to come from your code.

What you race on

Four tracks, each with a naive reference (the snail) in every language. Your entry is timed against the snail in the same language, so Perl races Perl and Bash races Bash.

  1. Ingest: 310,000 log lines; p50, p95, p99 and the 5xx rate per endpoint and hour.
  2. Index: 25,000 documents, then 5,000 Boolean and exact-phrase queries.
  3. Join: a hostile CSV (quoted commas, embedded newlines, mixed line endings, stray BOMs) joined to 200,000 regions.
  4. Traverse: a graph of 174,051 nodes and 500,000 edges, then 200 shortest-path queries.

One Hetzner machine runs every timed run of every team. Each push sets your car's top speed in a 48-hour race around San Francisco, live in real-time 3D.

The short version

  • Online, 29 January to 1 February 2027 (kickoff 15:00 UTC).
  • Teams of 1 to 4. Each track can use a different language.
  • $2,000 in prizes, including an Underdog prize for the fastest car with all four tracks in the 10 slowest languages.
  • AI tools are allowed.

Site and registration: https://speeddemon.dev/2027/

Which runtime on this list would you bet on, and which ban hurts most?

Top comments (0)