Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: English as a Programming language (off topic)

Author: Vincent Diepeveen

Date: 00:34:25 07/15/01

Go up one level in this thread


On July 14, 2001 at 12:15:40, Heiner Marxen wrote:

Same challenge to you,
convert the 0x88 generator from Bruce to LISP instead of
academic nonsense about how well it is.

I've written stuff in functional languages and the PRACTICAL
slowdown i measured was huge.

One or 2 theoretic examples aren't representing truth for me.

LISP is a laughable language, it's completely unreadable as soon
as a program gets bigger as a few pages in size, because of the
many ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
)))))))))))))))((((((((())))))))))))))(((((((()))))))))))))
(((((((((((((((((((((((((((((((())))))))))))))))))))))(((((((((((()))))
((((((((((((((((((((())))))))))))))))))))))))
you need.

>On July 14, 2001 at 11:53:51, Ricardo Gibert wrote:
>
>>On July 13, 2001 at 22:34:34, Dan Andersson wrote:
>>
>>>I can't say that I agree about your assertions about functional programming
>>>languages, not now anyway. Both Common Lisp and OCaml rival the speed of C. Any
>>>problems with those languages are usually the result of naive implementations.
>>
>>
>>Your assertion that they can rival the speed of C is not too surprising, since
>>both OCaml and Common Lisp also support imperative programming. Any language
>>that effectively includes C as a subset can rival C in speed.
>
>Using the imperative features of functional languages like SML tends to
>slow them down.  This is mainly due to the optimization strategies of
>such compilers.
>
>Also, according to my own experience with SML compilers, truely functional
>code most of the time does compete with C or C++ in speed.
>
>Since this starts to be off topic, I will not elaborate here.
>There are several web pages which present profilings across imperative and
>functional languages, which support this experience.  Just try google.
>
>Regards,
>Heiner



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.