Author: Heiner Marxen
Date: 09:15:40 07/14/01
Go up one level in this thread
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.