From: Andrey G. G. <A.G...@in...> - 2012-04-04 08:56:35
|
On Tue, 3 Apr 2012, Pedro F. Giffuni wrote: >> > Just wondering, you are probably aware of the classic >> > CMU Lisp implementations: >> > >> > http://www.freshports.org/lang/cmucl/ >> > http://www.freshports.org/lang/sbcl/ >> > >> > Is there a chance that REDUCE can work with them? >> >> I'm know it can. A long time ago, I ported Reduce to >> MacLisp, one of the precursors of Common Lisp. The >> Standard Lisp defined as a basis for Reduce is >> not a Common Lisp, being somewhat older than the Common Lisp >> Standard - see the doc/misc directory for a description. >> Therefore, some interface layer is >> necessary. This is not very difficult, just tedious. >> > > Interesting. I don't know much about Lisp but there are > a couple of BSD guys very active in CMUCL and SBCL. > > It would be even more interesting if it happens to speed > something up ;). I know one programmer in Dubna who had ported reduce to cmucl by writing a thin sl compatibility layer over cl. It ran somewhat slower than in native sl. The reason is clear: sl is a very small language, cl is very large; many operations in cl depend on types of operands, leading to numerous runtime checks. In sl such checks are absent. Andrey |