Earlier quoted context omitted.
Lisp on my Raspberry Pi is faster: pi@raspberrypi ~/lisp/ccl $ time ./armcl -n -Q -e '(progn (princ "hello") (quit))' hello real 0m0.112s user 0m0.020s sys 0m0.080s And the expression is first compiled to native code...
How does guile 2.0 do on that hardware?
Common Lisp as a Scripting Language, 2015 Edition
41–42 of 42 posts
Re: Common Lisp as a Scripting Language, 2015 Edition
#42Earlier quoted context omitted.
> Wanted to put my article-gleaned understanding of lisp to the test fair enough! > get at the essence of what shebang-style unix scripting was about FWIW, although convoluted, you can do that with guile, with: #!/usr/bin/guile \ -e main -s Or simpler with chicken: #!/usr/bin/csi -s
IMHO the nicest Scheme for UNIX scripting is scsh. Its APIs are really well thought out and represent a lot of design work that hasn't ever been replicated by another Scheme (at least that I've seen). Some good examples of scsh scripting (some by the author, Olin Shivers) can be found at http://scsh.net/resources/scripts.html The manual is also very good: http://scsh.net/docu/html/man.html
Last time I checked a package for scsh for Fedora was somehow broken and/or conflicting with Chicken and I went with the latter. In general I like the idea and APIs of scsh, I'm just afraid that there will be no one to ask for help if I hit some problems. With Chicken or Racket the communities are active and it's easy to find support. How does this look in case of scsh?