@simon_brooke @vashti Only if it doesn’t also need to be fast.
Post
@simon_brooke @vashti Only if it doesn’t also need to be fast.
@alwayscurious @vashti define fast. I can compute the factorial of 1,000 in under one millisecond on an ordinary laptop in several different #Lisp dialects, without optimisation.
Is that not fast enough for you?
https://gist.github.com/simon-brooke/fcb59705950c5ad515e18fba065510ae
@alwayscurious @vashti however, I'm grateful to you for raising that issue, because it prompted me to find out how fast it would run in Portable Standard #Lisp, so I've spent a happy couple of hours trying to debug bootstrapping problems in Blake McBride's version of the PSL compiler. I don't have it working yet, but I have made progress. Will it be faster than SBCL? Don't know, but I suspect so.
This is a bonfire demo instance for testing purposes