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 Rust 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
rust 1.rs 1.6ms 0.3ms 1.9MB 0ms 0ms rustc 1.98.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
rust 2.rs 2314ms 44ms 2.8MB 2230ms 70ms rustc 1.98.1
rust 1.rs 10361ms 53ms 3.3MB 8747ms 1587ms rustc 1.98.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
rust 2.rs 506ms 4.3ms 2.5MB 493ms 0ms rustc 1.98.1
rust 1.rs 1997ms 8.8ms 2.8MB 1823ms 157ms rustc 1.98.1