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=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 37122BC37 for ; Sat, 5 Sep 2009 11:45:08 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4BAEHQoUpRZ90vkWdsb2JhbACbOwEBAQEJCwoHEwO8VYQXBYFU X-IronPort-AV: E=Sophos;i="4.44,336,1249250400"; d="scan'208";a="32250316" Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]) by mail2-smtp-roc.national.inria.fr with ESMTP; 05 Sep 2009 11:45:07 +0200 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090905094507.PRWO6742.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Sat, 5 Sep 2009 10:45:07 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090905094507.JLV2093.aamtaout03-winn.ispmail.ntl.com@romulus.metastack.com>; Sat, 5 Sep 2009 10:45:07 +0100 Received: from Tenor ([172.16.0.18]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id n859j1oF015627 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 5 Sep 2009 10:45:03 +0100 From: "David Allsopp" To: "'Rakotomandimby Mihamina'" , References: <4A9FBF04.1060608@gmail.com> <20090904105505.055ec82e@attale.agematis.loc> <4AA0DEB4.6020307@glondu.net> <7d8707de0909040326x37d455cdi9f480b2b5da96b20@mail.gmail.com> <20090904141008.GC22690@annexia.org> <3a360f590909040738g5b481822q1c25d69548233bbb@mail.gmail.com> <4AA1EEB7.9020601@gulfsat.mg> In-Reply-To: <4AA1EEB7.9020601@gulfsat.mg> Subject: RE: [Caml-list] Why don't you use batteries? Date: Sat, 5 Sep 2009 10:44:58 +0100 Message-ID: <001901ca2e0d$89f619a0$9de24ce0$@metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acot5NJy72RidNSWT36Z00xcOcfyowAI/XvA Content-Language: en-gb Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.0 c=1 a=82gtTT0sfasA:10 a=8pif782wAAAA:8 a=Ud71C2o5mVFMQtu7WmkA:9 a=LYcl3upz0RV7jJglNLsA:7 a=8XNb1ZH0sO9UVIBUBpatfSLOvCcA:4 a=aElksQpwBsV2hYan:21 a=DOBPq-tNWwz-EB4a:21 X-Spam: no; 0.00; ocaml:01 wikipedia:01 wiki:01 redistribute:01 cygwin:01 ocaml:01 compiler:01 compiler:01 ocaml's:01 bytecode:01 mingw:01 cygwin:01 rounding:01 2009:98 ubuntu:98 Rakotomandimby Mihamina wrote: > 09/04/2009 09:37 PM, Gaius Hammond: > > I am after a language that has the rapid-development of Python or Tcl > > but with type safety; OCaml is right now the best bet, but it is > > *very* rough around the edges. The way you install ActivePython is you > > download it and run the installer and a few minutes later you're ready to go > > with everything you need. I'm just reading the release notes for Batteries > > now and it starts, you will need . > > I must insist on the fact this is probably specific to some OS. > On debian and Ubuntu, adding one line to sources.list and issuing one > command line does the trick. > That is easy, espacially for those already using them. Using a very simple analysis from http://en.wikipedia.org/wiki/Usage_share_of_desktop_operating_systems, 97.14%[1] of the computers in the world run an OS which does not have a "Linux"-style package manager (very sad, but true). Therefore a one-click installer should be a higher priority than supporting package managers *if* you want wider adoption of the system at all. Many developers will be using Windows whether they want to or not (or OS X - though I apologise if OS X does in fact have a package manager; please subtract 4.59% the previous number if it does) because they'll be in companies whose IT infrastructure is Windows, even if they have a few *nix boxes in the machine room "for those weird developers". I'm not sure that one is allowed to redistribute the Microsoft C compilers directly without a license, but packaging MSYS or the relevant parts of Cygwin along with OCaml and Batteries would create an installer somewhere between 150-300MB which compared to the 16GB of trial software I downloaded from the Microsoft website the other day is not that bad. You could even throw an editor in with it. Microsoft Installer is a command line compiler which reads text files so it can be targeted from make just like anything else and the script would pretty much only have to be written once and then someone would occasionally have to use a Windows box just to build it (and virtualisation means you can pretend that your Linux PC isn't even running Windows really). It would also not be too much work to have an MSVC version which simply explained that you must install the Windows SDK to get the C compiler (but, just like OCaml's own binary win32 files, you'd still get bytecode for nothing). Personally, I compile everything from sources with OCaml - but when I started out with it (as an undergraduate) I used the mingw installer from the OCaml website and was up and running in a matter of minutes. If I'd had multi-step instructions to deal with at that point, I'd have probably ended up sticking with Moscow ML! My point is that the one-click installer at the start of the process allowed me to get hooked and then later, when the benefits were very clear, I was happy to go down the slightly more complex route of doing it properly. So, for example, once our batteries-single-click-installer-beginners realise that OCaml is cool and they want to use other libraries and tools as well then they may well realise that Cygwin isn't that hard to install and so therefore GODI-on-Windows isn't really that scary and so they can get Batteries and lots of other goodies using that instead of the megalithic installer. Also personally, when I come across a piece of software that offers a live-CD or virtual appliance as a means of demonstration it makes me look elsewhere as to me it implies that installation and maintenance is so complicated that it's made the developers go to the trouble of building a demo PC (albeit virtual!) just to guarantee that it works properly first time... but that's probably "just me". There's an old saying: "If you can't beat them, join them". Standing ranting on a soap-box doesn't tend to achieve much... In vain hope of not starting a flame war, David (who, by the way, is a realist rather than a Microsoft-apologist) [1] 4 s.f. seems a tad optimistic on an estimate like that - but rounding to the more sensible 1 s.f. would mean 100% which might be considered as over-egging my point ;o)