From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 61691BC69 for ; Wed, 26 Sep 2007 14:44:27 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFPx+UbAXQInemdsb2JhbACOMAEBCQo X-IronPort-AV: E=Sophos;i="4.20,301,1186351200"; d="scan'208";a="16811489" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 26 Sep 2007 14:44:26 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l8QCiOh6002252 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 26 Sep 2007 14:44:26 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFPx+UZQW+UCh2dsb2JhbACOMAEBAQgKJw X-IronPort-AV: E=Sophos;i="4.20,301,1186351200"; d="scan'208";a="16811474" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail4-smtp-sop.national.inria.fr with ESMTP; 26 Sep 2007 14:44:18 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IaWBS-0002Ve-Ki for caml-list@inria.fr; Wed, 26 Sep 2007 12:40:06 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Sep 2007 12:40:06 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Sep 2007 12:40:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: Cherry-picking modules (was Re: [ANN] OCaml Reins 0.1 - Persistent Data Structure Library) Date: Wed, 26 Sep 2007 12:37:31 +0000 (UTC) Message-ID: References: <46F95938.7030107@cs.umd.edu> <17487E59-04F2-4509-87B5-24377B051E9E@epfl.ch> <46F961E5.5060302@cs.umd.edu> <55A4E82E-3D05-4F79-A8A6-A87905EB4FC8@epfl.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/0.9.8.1pl2 (Debian) Sender: news X-Miltered: at concorde with ID 46FA5428.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 ocaml:01 distro:01 ocaml:01 pxp:01 makefile:01 bazar-ocaml:01 pxp:01 labltk:01 2007,:98 webservices:98 distrib:01 wrote:01 unix:01 cryptokit:01 On 26-09-2007, Jim Miller wrote: > --===============1631936878== > Content-Type: multipart/alternative; > boundary="----=_Part_6613_111225.1190807134005" > > ------=_Part_6613_111225.1190807134005 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > >> >> It is funny, because when you see other big languages -- which are >> working very well -- like Perl, they all try to avoid embedding libraries! >> >> The only real needs is to have something that automatically >> download/build/install dependency! >> >> AND WE HAVE IT: godi! >> >> Or if you want things more distro based: debian... > > > Take it or leave it, just my $.02 from trying to introduce OCaml into an > environment where we write network applications (including but not limited > to web services) that have to run on very tightly controlled systems. (I > know I'm in the huge minority of programmers) > Second solution: distribution based OCaml -> debian. For your example, debian is distributing package for PXP (XML), PagodaCF (network), OCsigen (webservices).... You have most of this in stable release (Etch) and a lot more in unstable (Sid). You can burn a CD or DVD of the distribution. To see all the ocaml library we have: http://pkg-ocaml-maint.alioth.debian.org/ocaml_src_pkgs.html You can even take a look at our subversion repository: http://svn.debian.org/wsvn/pkg-ocaml-maint Which contains more libraries -- some are not released. Concerning GODI, i think you can "hack" something to auto download everything which are referenced in GOD build, considering that getting the GODI build script is only a matter of doing a subversion checkout. (taking a short look at GODI, give me, for cryptokit Makefile: MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/ distinfo: SHA1 (cryptokit-1.2.tar.gz) = 95f0bb53dad3e006c97fb573e0bc19c6c47c3ef7 Size (cryptokit-1.2.tar.gz) = 106543 bytes which should be enough to download cryptokit for GODI... but i agree there is some works to do. ) You also have PXP and OCsigen in GODI (but not PagodaCF i think). I think that standard library should be as small as possible. Most of the user don't need to have most of the modules provided by it (in fact, i would have like NOT to have Graphics/LablTK/Unix in ocaml, that will have made things more simple and more extendable for everyone). Being able to have an efficient way of distributing library is difficult but it is what made things powerful. Regards, Sylvain Le Gall