4 ms·
Chez if fast, but certainly not native fast.
by SomeoneFromCA 3y ago
Chez if fast, but certainly not native fast.
- tmtvl 3y agoIt does pretty well considering the obstacles holding it back, garbage collection and implicit typing are rather hefty lodestones to work around, but Chez has a quite sophisticated compiler which can do some impressive optimizations. Of course certain Common Lisp implementations like SBCL still outshine Chez, but for a Scheme implementation it's rather impressive. Of course if you want something really fast you let a genius who knows the target system inside and out write some hand-optimized assembly, but for a program that only needs to run once (or that has no direct or indirect connection to an end user) Chez is roughly fast enough.
- medo-bear 3y ago> Of course if you want something really fast you let a genius who knows the target system inside and out write some hand-optimized assembly Meh, my genius works at electro magnetic level. His mum works at the quantum level but she is outside our budget
- vincent-manis 3y agoNeither is Java. On carefully-written programs on some domains with full optimization, both Chez and Gambit have been observed to produce object programs that run at speeds comparable to those of their C equivalents. This isn't new. I think it was Guy Steele who observed circa 1970 that some Maclisp programs ran faster than Fortran equivalents.