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] building web services using oCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-17 (14:34)
From: Arnaud SAHUGUET <sahuguet@l...>
Subject: Re: [Caml-list] building web services using oCaml
> There are cases where it just makes more sense to interface to an
> existing C library.  I think SSL falls in this category, because the
> SSL protocol is quite complex, and the OpenSSL implementation seems
> of good quality.  On the other hand, the subset of HTTP that you need
> to write CGI-like applications is simple enough that implementing it
> directly in OCaml (like OcamlNet does) is easier than trying to
> interface to, say, libwww.

I agree that this is fine for a subset of HTTP. But what if we need the
whole thing.
I think the problem is not so much implementing something in oCaml, it is
implementing something that satisfies a given spec (e.g. SSL, HTTP, etc.)
and maintaining it. The maintainance is really the hard part.
>From my point of view, relying on a reference implementation (e.g. libwww
maintained by W3C) is a good way to go.

Furthermore, for cryptographic library, it is always risky to provide yet
another implementation because it is more prone to mistakes which can lead
to serious security leaks.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: