Results for 38 of 40 languages from this run on actest1.

Unavailable in this run: Hack, Lisp. Follow the run link for failure details.

Haskell VS Zig benchmarks

Current benchmark data was generated on Sun Sep 27 2026, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (Model 58)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
zig 1.zig 1.3ms 0.5ms 1.1MB 0ms 0ms zig 0.14.1
haskell 1.hs 13ms 0.6ms 8.5MB 0ms 0ms ghc 9.4.7

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
haskell 4.hs 1157ms 6.0ms 21.3MB 1150ms 80ms ghc 9.4.7
zig 1.zig 3461ms 6.4ms 2.3MB 3433ms 13ms zig 0.14.1

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
haskell 4.hs 321ms 23ms 19.6MB 303ms 20ms ghc 9.4.7
zig 1.zig 854ms 121ms 1.9MB 837ms 0ms zig 0.14.1