Menu

1 / 2

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

DEV Community: ruby·Hackathon Raptors·2 days ago
#FowqeMyn
#devtoruby#devto#dev#banned#speed
Long article (375 words) — no AI summary yet.
Reading 0:00
15s threshold

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.

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.