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.2 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 57D9EBBAF for ; Tue, 14 Oct 2008 12:13:43 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYDAJgN9EjAXQIniGdsb2JhbACTYAEBARUiqhqBbA X-IronPort-AV: E=Sophos;i="4.33,408,1220220000"; d="scan'208";a="18080930" Received: from concorde.inria.fr ([192.93.2.39]) by mail3-smtp-sop.national.inria.fr with ESMTP; 14 Oct 2008 12:13:43 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m9EADglT014178 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 14 Oct 2008 12:13:42 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwCAJgN9EhQW+UCgWdsb2JhbACTYAEBFiIEqhaBbA X-IronPort-AV: E=Sophos;i="4.33,408,1220220000"; d="scan'208";a="16062378" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 14 Oct 2008 12:13:42 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KpguK-0003cD-Vl for caml-list@inria.fr; Tue, 14 Oct 2008 10:13:40 +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 ; Tue, 14 Oct 2008 10:13:40 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Oct 2008 10:13:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: Re : Road to native windows OCaml... Date: Tue, 14 Oct 2008 10:13:32 +0000 (UTC) Message-ID: References: <200810131935.53365.kuba@mareimbrium.org> <548B4D09-6EFF-4805-83E2-D1F413706EE5@erratique.ch> <666572260810140241p5d7b8ee2ofafebec229e9bce2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Miltered: at concorde with ID 48F470D6.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 ocaml:01 buenzli:01 cygwin:01 ocaml-:01 cygwin:01 mldonkey:01 runtime:01 mingw:01 compiler:01 ocaml:01 mingw:01 runtime:01 distrib:01 gpl:01 On 14-10-2008, Adrien wrote: > 2008/10/14, Daniel Bünzli : >> >> Le 14 oct. 08 à 09:59, David Allsopp a écrit : >> >>> Can I ask what the motivation is for this (out of interest, not >>> criticism)? >> >> Maybe because if you want to distribute executables using cygwin you >> have to release your code under a GPL compatible license [1]. >> >> Daniel >> >> [1] http://caml.inria.fr/pub/distrib/ocaml-3.10/notes/README.win32 > > I would give another explanation : cygwin is big and slow. > A base cygwin install is at least 1GB (when fully configured, after > carefully reviewing *each* package), a regular one is 2GB. XP itself > is not that big, I've not seen many applications that big, only CAD > ones. > Cygwin is also slow, though it will probably not impact a student use > (networking is slower due to the translation, I have mldonkey in > mind). ./configure are also painfully slow, the need to run several > small commands where startup time is more important than runtime gives > cygwin no chance [1]. > > On the other hand, mingw on its own is about 80MB. If you add a few > things, it will weight at most 200MB which is 10 times smaller than > the cygwin solution. > Welcome in the windows world. For your information, there is a lot of thing in windows that is bigger than cygwin. Just taking a fresh example (install it last sunday): PSDK for AMD64 (platform SDK). This is the recommanded C compiler to compile OCaml for Win64. It takes 935MB (ok this is not 1GB). It is just what is replacing mingw !!!! Other examples: - games - Microsoft Visual Studio 2005 Team, takes ~6GB (official number from microsoft website) If hard disk space were a problem, nobody would install Microsoft products... Another information, I have various benchmark on cygwin. My conclusion was not what i have expected. Most of the time cygwin runtime has a good speed. This is not so slow in fact. I think most of the slowness you can see is because you are working in a MSDOS/emulated X terminal which seems slow (but is not, this is just a question of refresh rate). Seriously, cygwin is not that bad. I would still not recommend using it for various other reasons. Regards Sylvain Le Gall