Re: Troll-o-Matic
- From: Alexander Schmolck <a.schmolck@xxxxxxxxx>
- Date: 06 Mar 2006 18:25:48 +0000
Bill Atkins <NOatkinwSPAM@xxxxxxx> writes:
Jon Harrop <usenet@xxxxxxxxxxxxxx> writes:
[...]
Anyway, the ray tracer is only meant to be a little fun.
Is it really? I first came to Lisp last May, and even then you were
filling comp.lang.lisp/comp.lang.scheme with these silly benchmarks
and even then people were telling you your code length measurements
were bunk. What's the deal, Jon Harrop?
I think Jon Harrop gets more flak that he deserves. Quite a lot of the
criticism that was levied against his benchmarks was justified, but Jon also
did eventually incorporate quite a lot of the constructive criticism.
The task is neither so simple as to be entirely without interest nor so
complex as to be completely unintelligible.
And whilst it is certainly true that only quite limited conclusions about the
suitability and performance of various languages for real world tasks can be
drawn from a small toy example like this raytracer, I think those who conclude
that this benchmark is consequently completely useless are overshooting the
mark (it's not like vastly better data of this kind would be widely available
or idiomatically implementing the specific task one is actually interested in
in all these languages for comparison would be practical in most situations).
If nothing this page serves as a nice example of how to optimize a certain
type of code in various languages and to what extent clarity and conciseness
are traded off against performance in the process. I'm looking forward to
seeing further improvements to this benchmark and similar benchmarks for tasks
that stress different language features in the future.
And yes, consecutive whitespace should not play a role in verbosity measures.
'as
It is easy to lie with statistics, but it's a lot easier to lie without them.
-- Richard J. Herrnstein
.
- References:
- Re: Troll-o-Matic
- From: Jon Harrop
- Re: Troll-o-Matic
- From: Bill Atkins
- Re: Troll-o-Matic
- Prev by Date: Re: ANSI Common Lisp: Chp. 6, #6
- Next by Date: Re: ANSI Common Lisp: Chp. 6, #6
- Previous by thread: Re: Troll-o-Matic
- Next by thread: Re: Troll-o-Matic
- Index(es):
Relevant Pages
|