3 ms·
In the arbitrary collection of programs in https://benchmarksgame-team.pages.debian.net/benchmarksgame/index.html https://benchmarksgame-team.pages.debian.net/b
by gus_massa 1y ago
In the arbitrary collection of programs in https://benchmarksgame-team.pages.debian.net/benchmarksgame/index.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... , SBCL runs x5 slower than C, Racket x15 slower than C. Chez Scheme shoud be in between, like x10 slower than C. (Anyway, some C programs use very advanced low level tricks, so the difference with realistic programs may be slower.)
It's a pity they don't rune benchmarks for Clojure, and I have no idea to make up a number.
- igouy 1y ago> Chez Scheme shoud be in between ? The default implementation as of Racket version 8.0 uses Chez Scheme as its core compiler and runtime system. https://docs.racket-lang.org/reference/implementations.html https://docs.racket-lang.org/reference/implementations.html > some C programs use very advanced low level tricks * possible hand-written vector instructions or "unsafe" or naked ffi" are flagged https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/clang-sbcl.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...