@screwlisp wow, `(declaim (optimize speed))` really makes a difference! I'm seeing factor of 4 improvement...
/playing
@screwlisp Are bignums in SBCL allocated in cons space or in heap space, does anyone know?
#Tag
@screwlisp wow, `(declaim (optimize speed))` really makes a difference! I'm seeing factor of 4 improvement...
/playing
@screwlisp Are bignums in SBCL allocated in cons space or in heap space, does anyone know?
Agreed. #CommonLisp on Android ( #cl_repl) is capable and plenty fast enough on a Pixel 8a running your factorial code. 😎
You can make CL faster than the C/C++ used by NumPy: https://stewart123579.github.io/blog/posts/code/calculating-a-dot-product/#python-vs-dot-r-vs-dot-lisp-timing
@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
Agreed. #CommonLisp on Android ( #cl_repl) is capable and plenty fast enough on a Pixel 8a running your factorial code. 😎
You can make CL faster than the C/C++ used by NumPy: https://stewart123579.github.io/blog/posts/code/calculating-a-dot-product/#python-vs-dot-r-vs-dot-lisp-timing
#lispyGopherClimate with @ramin_hal9001 and Kent Pitman
https://anonradio.net:8443/anonradio on the hour
@kentpitman 's https://www.nhplace.com/kent/Writing/A-Christmas-Peril.html read by yours truly. https://screwlisp.small-web.org/
@pkw points out when people ask why #commonLisp #software they would know, (US DOE's) #maxima CAS is in openbsd base ports and literally everywhere else.
My Kitten plans viz @aral 's https://kitten.small-web.org/tutorials/layout-components/#markdown-fragment-md fragmented markdown knowledge
#eev #irc on libera - @eduardoochs https://anggtwu.net/2025-badly-behaved.html
conditions?
#lambdaMOO
#lispyGopherClimate with @ramin_hal9001 and Kent Pitman
https://anonradio.net:8443/anonradio on the hour
@kentpitman 's https://www.nhplace.com/kent/Writing/A-Christmas-Peril.html read by yours truly. https://screwlisp.small-web.org/
@pkw points out when people ask why #commonLisp #software they would know, (US DOE's) #maxima CAS is in openbsd base ports and literally everywhere else.
My Kitten plans viz @aral 's https://kitten.small-web.org/tutorials/layout-components/#markdown-fragment-md fragmented markdown knowledge
#eev #irc on libera - @eduardoochs https://anggtwu.net/2025-badly-behaved.html
conditions?
#lambdaMOO
BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.