Re: Parallel Common-Lisp with at least 64 processors?



On Sat, 21 Jun 2008 17:20:01 +0100
Jon Harrop <jon@xxxxxxxxxxxxxxxxx> wrote:

Ariel wrote:
On Sat, 21 Jun 2008 10:01:20 +0100
Jon Harrop <jon@xxxxxxxxxxxxxxxxx> wrote:
John Thingstad wrote:
Just earlier this week I made a program to compute prime numbers.
It found all primes < 1000000 in 1.015 seconds.
That is just as fast as the same algorithm in C...

Yes, of course. That task is so simple that Lisp's deficiencies are not
relevant.

Saying that a task is too simple doesn't give your argument any weight,
some languages process sleep cycles faster than others, so what. If
instead you had said something like "it avoids these specific slower
functions of Lisp" such that to actually show where slowness occurs in the
language, it would become a helpful comment.

My original point was that Lisp makes high-level programming slow. For
example, high-level abstract constructs like pattern matching are heavily
optimized by the compilers of all modern functional languages but Lisp is
incapable of anything comparable (without drastically changing the language
and Greenspunning modern language features).

John's response that Lisp can compete with C on a low-level program is true
for trivial problems but neither relevant to my point nor interesting in
the context of real programming (unless you are trying to solve problems so
simple that it is feasible for you to use C).

Fortunately, modern functional languages are so much more effective than
Lisp that you don't have to study much more complicated programs (e.g. the
Mersenne Twister rather than a prime sieve) to appreciate just how far in
advance these modern languages are.

This post just lost you all credibility in my eyes. Good day, Jon Harrop.
-a
.



Relevant Pages

  • Re: Whats so great about lisp? / Languages implemented in Lisp
    ... > Jon Harrop wrote: ... >> Lisp then people will create new languages on top of Lisp, ... >> people will use those languages. ... > Widely used is a criterion that you have inserted, Jon. ...
    (comp.lang.lisp)
  • Re: Parallel Common-Lisp with at least 64 processors?
    ... some languages process sleep cycles faster than others, ... My original point was that Lisp makes high-level programming slow. ... modern functional languages are so much more effective than ...
    (comp.lang.lisp)
  • Re: Whats so great about lisp?
    ... > Jon Harrop wrote: ... If it really is "vastly easier" to write interpreters and compilers in Lisp ... then people will create new languages on top of Lisp, ...
    (comp.lang.lisp)
  • Re: Friendlier syntax
    ... Jon Harrop wrote: ... I really hope they teach you some good languages as well... ... At least in the German university system, Lisp, ...
    (comp.lang.lisp)
  • Re: Very poor Lisp performance
    ... > Jon Harrop wrote: ... Lisp to me for these kinds of tasks, ... There you probably want Fortran or C (and ... > writes an app in several languages... ...
    (comp.lang.lisp)