Chez Scheme vs. SBCL: a comparison (2019)

22 points by gnyeki


fanf

As well as Racket, Chez Scheme provides the back end for Idris 2.

veqq

Protips: Chez itself is faster (e.g. going through levels of indirection), but SBCL’s library is more optimized. If you’re able to use SBCL built ins for things vs. rolling your own, it’ll out perform. But also (declaim (optimize (speed 3) (debug 0) (safety 0)) makes SBCL way faster and binaries a fair bit smaller. And it’s not hard to use disassemble then use its resulting assembly in line for another speed up. In my tests (inference on dozens of GB of data) some years ago, SBCL was 3x faster than base Racket on Chez but honestly I found CL easier and didn’t dig too far into optimizing either.