Version française
Home     About     Download     Resources     Contact us    
Browse thread
[ANN] OCaml Reins 0.1 - Persistent Data Structure Library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Re: Cherry-picking modules (was Re: [ANN] OCaml Reins 0.1 - Persistent Data Structure Library)
On Wed, 2007-09-26 at 16:42 +0000, Sylvain Le Gall wrote:
> On 26-09-2007, Vincent Aravantinos <vincent.aravantinos@yahoo.fr> wrote:
> > Ok, there is camlget, ok there is ocamlfind, ok there is godi.
> >
> > Maybe if there were some 'Inria'-made tool (seems camlget is starting  
> > point for that ?) that be settled in the standard ocaml distribution  
> > would help to make everyone agreed, don't you think ? This does not  
> > solve intrinsic problems such as "I prefer dynamically linked" vs "I  
> > prefer statically linked" but at least that would be a tool everyone  
> > could rely on. Then everyone is free to use it or not. It would even  
> > simplify the task for library-writers.
> >
> 
> ocamlfind and godi are very good tool on their own. Why do they need to
> be INRIA-made tool ?

Because that way, everyone who goes to the trouble to install Ocaml
will have them without further problems.

> INRIA made very good compiler. Great! But let other people use this
> language to build other tools -- with different idea than INRIA. 

To make that feasible, there needs to be a standard set of tools
and rules for accessing these products. At present, these rules
vary from platform to platform.

Software developers often want to get their software out on
ALL platforms, and that requires a platform independent 
package manager and build tool as 'standard'.

> It is really strange, everyone seems to look at OCaml as "languages for
> kid" with everything bundle into some kind of nice package... Please be
> more realistic, OCaml is a complicated language -- design for
> "discriminative hackers". There is a great shift between end-user and
> developper (as M. Furr explains). If you want to deliver something
> without dependency, you just have to precompile things, tar gzip it in a
> nice shell script ".run" and made it available. This will be easy for
> end-user. For developpers, compiling their own OCaml program, dealing
> with library dependency should be easy !

But the problem is I have several OS: Ubuntu-Linux, XP32, XP64
and Cygwin. How do I as the developer actually make the packages
for Redhat/Fedora/Solaris/MacOSX/Windows ....? 
How about all the CPU types around? x86, x86_64, ia64, Sparc ...
 I am just not rich enough :)

I can make a Python program that builds Ocaml
and C/C++ source code on all platforms though, and have.

I prefer to supply a "Higher Order Function", namely source
code and source code to build source code .. than binary instances
for the same software engineering reasons we use Ocaml in 
the first place: polymorphic functions provide better reusability.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net