Python 3.11 is faster than 3.8
Checking for my own “benchmark”, a gameboy emulator in several different languages[0]; it’s CPU-bound but across ~3k lines of code, so <i>slightly</i> more representative of real-world apps than a single-function tight-loop microbenchmark:<p><pre><code>     zig: Emulated 600 frames in  0.24s (2521fps)
      rs: Emulated 600 frames in  0.37s (1626fps)
     cpp: Emulated 600 frames in  0.40s (1508fps)
     nim: Emulated 600 frames in  0.44s (1367fps)
      go: Emulated 600 frames in  1.75s (342fps)
     php: Emulated 600 frames in 23.74s (25fps)
      py: Emulated 600 frames in 26.16s (23fps)   # PyPy
      py: Emulated 600 frames in 33.10s (18fps)   # 3.11
      py: Emulated 600 frames in 61.43s (9fps)    # 3.10
</code></pre>
Doubling the speed is pretty nice :D Still the slowest out of all implementations though :P<p>[0] <a href="https://github.com/shish/rosettaboy" rel="nofollow">https://github.com/shish/rosettaboy</a><p>EDIT> updated the nim compiler flags to build in release mode like most other languages, thanks @plainOldText!