Re: SBCL is now faster than Java, as fast as Ocaml, and getting better



Javier wrote:
But, in general, if you only count the number of lines, Lisp is
usually shorter.

Actually Lisp is almost always longer by any reasonable metric including
LOC. I went out of my way to measure the verbosity of Lisp on the ray
tracer benchmark:

http://www.ffconsultancy.com/languages/ray_tracer/results.html

Lisp is among the most verbose languages both by LOC and non-whitespace
bytes.

Also, in big applications, defmacro and functional programming allow
us to reduce complexity and size.

Macros without basic features means that Lisp projects have a considerable
constant overhead of boiler plate code spent Greenspunning features like
pattern matchers.

--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com/products/?u
.



Relevant Pages

  • Re: Very poor Lisp performance / about Mathematica
    ... If you're objective to the verbosity of the ... then Lisp is not the best alternative... ... I can't imagine you're saying what I think you're saying, ... range of 10-20 kloc to Lisp, which usually ends up in the 2-5 kloc ...
    (comp.lang.lisp)
  • Re: Very poor Lisp performance
    ... > Jamie Border wrote: ... What would you be measuring here? ... >>> so character count might penalize lisp even worse. ... Incidentally I argued against the verbosity of CL a while ago, ...
    (comp.lang.lisp)
  • Haskell now on the ray tracer language comparison
    ... Verbosity is good (similar to SML) and performance is poor (similar to ... Lisp). ...
    (comp.lang.functional)
  • Re: Python syntax in Lisp and Scheme
    ... I wasn't the one who pointed out those micro benchmarks. ... Tilton pushed the idea that more concise code is better and that Lisp ... succinct than Python and 2) neither was the Perl code. ... > declarations, which will increase LOC. ...
    (comp.lang.python)
  • Re: Python syntax in Lisp and Scheme
    ... I wasn't the one who pointed out those micro benchmarks. ... Tilton pushed the idea that more concise code is better and that Lisp ... succinct than Python and 2) neither was the Perl code. ... > declarations, which will increase LOC. ...
    (comp.lang.lisp)

Loading