Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Web Development with OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-07-14 (01:14)
From: John Max Skaller <skaller@m...>
Subject: Re: [Caml-list] Web Development with OCaml
Jimmie Houchin wrote:

> I would like to code in a language that is both fast to run and fast to
> code in. I want a language with automatic memory management. I am not a
> C/C++ programmer. I don't particularly want to program in Java. Nor do I
> find Java too advantageous. Now that I've made everyone ill. :) ...
> OCaml seems to fit the bill reasonably. The largest challenge to me with
> OCaml is it has a foreign syntax (to me) and it is functional
> programming. So I need to learn a new syntax and program
> paradigm/philosophy. But the benefits for doing so seem to be there.

	Ocaml supports ordinary procedural and object oriented programming.
It is a traditional language in this sense: all languages provide
expressions, which is all that functional programming is.
The main differences is emphasis, and the fact that in Ocaml you 
have first class functions. Uses for this will come naturally
from your application. Soon, you will not be able to go
back. Be warned!!

	For me, the main obstacle to learning was, and still is,
the syntax. It takes time to mentally 'pattern match' against
a new syntax.

	Take the time. It's worth it :-)

> In a simple direct comparison to Perl or Python it would seem OCaml
> would perform better.

	I think this is less relevant than the tradeoff between
rapid prototyping of small applications in Python/Perl, compared
to much better assurances of correctness for larger projects
in Ocaml (due to a combination of strict static typing and
extremely compact code which is easier to analyse).
John (Max) Skaller, 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix
Literate Programming tool Interscript
Bug reports:  FAQ:
To unsubscribe, mail  Archives: