Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ocaml

Author: Peter Fendrich

Date: 13:46:44 06/20/02

Go up one level in this thread


On June 20, 2002 at 16:24:18, Dann Corbit wrote:

>On June 20, 2002 at 16:19:05, Roy Eassa wrote:
>
>>On June 20, 2002 at 15:57:47, Oliver Roese wrote:
>>
>>>On June 20, 2002 at 14:12:41, Peter Fendrich wrote:
>>>
>>>>Has anyone used ocaml writing their engine?
>>>>
>>>>Peter
>>>
>>>I have never used it, but i found it recently and i am already very
>>>enthusiastic about it.
>>>It has a undogmatic mixture of functional and imperative
>>>elements, is very well implemented, completely free and
>>>has a growing community.
>>>It can be compiled and interpreted and has modulsupport.
>>>Definitely worth to hava look at (though it does _not_ fit everyones
>>>need...)
>>>
>>>Oliver
>>
>>
>>How would you compare ocaml to Python?  How about to C# (or VB.NET)?
>
>Caml is a functional programming language.
>http://caml.inria.fr/FAQ/general-eng.html
>Python is a scripting language.
>
>C# and VB.NET are .NET languages designed to create front ends for Web apps.
>I think they are all very differently targeted.  It does not make a lot of sense
>to compare them.
>
>Probably, all of them are bad choices to write a chess engine unless you happen
>to be an expert in that language and a neophyte in one of the common chess
>programming langauges like C, C++ or Delphi.

caml is a functional language only. ocaml is handling objects as well, meaning
that you can use the approach that suites the problem to solve.
ocaml is an excellent choice regarding performance:
http://www.bagley.org/~doug/shootout/craps.shtml

http://groups.google.com/groups?oi=djq&selm=an_571405096

Peter

>
>>Thanks for any responses!




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.