Re: Lisp in hardware

From: Edi Weitz (spamtrap_at_agharta.de)
Date: 08/09/04


Date: Mon, 09 Aug 2004 19:32:38 +0200

On 9 Aug 2004 17:00:44 GMT, Alexander Burger <abu@software-lab.de> wrote:

> please show me a Lisp interpreter faster than Pico Lisp

If I do this

  (de fac (n) (if (= n 0) 1 (* n (fac (- n 1)))))

in PicoLisp 2.0.13 and then evaluate (fac 5000) it takes about 15
seconds on my laptop.

With CLISP 2.33.2 and

  (defun fac (n) (if (= n 0) 1 (* n (fac (- n 1)))))

(fac 5000) needs less than 0.3 seconds without compiling the function.

Edi.

-- 
"Lisp doesn't look any deader than usual to me."
(David Thornley, reply to a question older than most languages)
Real email: (replace (subseq "spamtrap@agharta.de" 5) "edi")


Relevant Pages

  • Re: `Standalone Executables
    ... the details of compiling, loading, and running Lisp. ... from the shell prompt, make a directory to keep super-frob ... instructions on the webpage are literal instructions. ...
    (comp.lang.lisp)
  • Re: best environment for learning Lisp?
    ... Just type in your Lisp prompt: ... ; compiling ... have figured out how to compile, load, and run a script in SLIME. ... sort of programming too, as you have found out, but you are missing out ...
    (comp.lang.lisp)
  • Re: undefined (asdf:system-license on clisp+cywgin
    ... Sometime I shout strings and sometimes ... Franz's case-sensitive lisp when the string designators are symbols, ...  This means that when the compiling ... whatever readtable-case translation you might have in effect, ...
    (comp.lang.lisp)
  • Re: undefined (asdf:system-license on clisp+cywgin
    ... Franz's case-sensitive lisp when the string designators are symbols, ...  This means that when the compiling ... names into strings, so that even if a source file has random symbols ... whatever readtable-case translation you might have in effect, ...
    (comp.lang.lisp)
  • Re: undefined (asdf:system-license on clisp+cywgin
    ... people just use keywords when they could use a regular symbol; ... Franz's case-sensitive lisp when the string designators are symbols, ...  This means that when the compiling ...
    (comp.lang.lisp)