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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 87571BC37 for ; Fri, 4 Sep 2009 10:18:47 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAI9qoEpeFxRU/2dsb2JhbADYa4QbBQ X-IronPort-AV: E=Sophos;i="4.44,330,1249250400"; d="scan'208";a="35476322" Received: from glyptal.glondu.net ([94.23.20.84]) by mail1-smtp-roc.national.inria.fr with ESMTP; 04 Sep 2009 10:18:47 +0200 Received: from [10.198.42.2] (unknown [10.198.42.2]) by glyptal.glondu.net (Postfix) with ESMTP id B87A359F1E; Fri, 4 Sep 2009 10:20:50 +0200 (CEST) Message-ID: <4AA0CD62.9080906@glondu.net> Date: Fri, 04 Sep 2009 10:18:42 +0200 From: =?UTF-8?B?U3TDqXBoYW5lIEdsb25kdQ==?= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: =?UTF-8?B?SmVhbi1DaHJpc3RvcGhlIEZpbGxpw6J0cmU=?= Cc: Edgar Friendly , caml-list@yquem.inria.fr Subject: Re: [Caml-list] Why don't you use batteries? References: <4A9FBF04.1060608@gmail.com> <4AA00863.4060105@lri.fr> In-Reply-To: <4AA00863.4060105@lri.fr> X-Enigmail-Version: 0.95.0 OpenPGP: id=FCE03DAA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; non-standard:01 zlib:01 pcre:01 ocaml:01 compiler:01 ocaml's:01 phane:98 steph:98 phane:98 caml-list:01 executables:01 external:03 external:03 contributors:03 contributors:03 Jean-Christophe Filli=C3=A2tre a =C3=A9crit : > I like writing my own libraries when I need some. Unfortunately, many people do that. The problem with this approach (from a FOSS point of view) is with external contributors (who can fix bugs or develop features). A (big) project using non-standard libraries for things that do have a standard (imagine zlib and pcre in C) will attract less external contributors (it would deter me from contributing and therefore using, at least). Of course, things are easier with OCaml than with C, as you can "learn" or discover the usage of a library being guided just by the compiler error messages, but it become painful at some point. I appreciate the Batteries initiative which IIUC aims at providing standards (but I don't use it myself... yet). But I'd like to comment on:= > 3) It makes my executables too big I wouldn't say this is a problem of Batteries, but a problem of OCaml's lack of proper shared libraries. --=20 St=C3=A9phane