Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Re: Common IO structure
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vladimir N. Silyaev <vsilyaev@m...>
Subject: Re: [Caml-list] Re: Common IO structure
On Wed, May 05, 2004 at 07:59:19AM +0900, Yamagata Yoriyuki wrote:
> > Vladimir N. Silyaev wrote:
> > > If you felt interested, please look into the attached file io.ml.
> > 
> > This looks like a good start to me; what do others think?
> 
> Our problem is having too many incompatible IO system, not the lack of
> IO.  So, what we need is the standard, not the code.
> 
> Of course, if some IO library is widespread, then it will become de
> facto standard.  I advise you to look existing IO systems for smooth
> integration/migration.  In particular, the IO system of ocamlnet
> deserves a close look, because it is well thought and widly used.
That's essentially correct. Ocaml community is not that large and number
of people are willing to contribute time into the project is
rather limited.
So in order for whatever new way of doing IO be successive it
shall be:
 a -  simple
 b -  compatible with existing codebase

Simplicity it's exactly an issue with I/O in ocamlnet and extlib -
interfaces are too rich, there is many different methods and classes.
Surely that model works quite well for the given project and probably
there is not much sense to rewrite implementation.  But that's not
required nor that important, important part is interoperability
between projects, so output of ocamlnet.Cgi could be feed to camomile.Utf8.

And it might be possible to agree on very limited interface, what
doesn't exposes all richness and features of many different modules,
but allows connect different modules together and supports future
extensions.


--
Vladimir

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners