caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Adrien <camaradetux@gmail.com>
To: "Dmitry Bely" <dmitry.bely@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re : Re : [Caml-list] Road to native windows OCaml...
Date: Tue, 14 Oct 2008 21:31:44 +0200	[thread overview]
Message-ID: <666572260810141231g41c1f887mfaf4484bb9da3eb7@mail.gmail.com> (raw)
In-Reply-To: <90823c940810141039u7ffd2de1te9158a00c3b2585c@mail.gmail.com>

2008/10/14, Dmitry Bely <dmitry.bely@gmail.com>:
> On Tue, Oct 14, 2008 at 1:41 PM, Adrien <camaradetux@gmail.com> wrote:
>
>>>> 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.
>
> No way. My Cygwin installation (quite enough for building Ocaml and
> many other things) is just 274Mb. Not a big deal.

I have to say I am really surprised. All the cygwin installations I've
seen were terribly big, with tens of thousands of files, if not
hundreds of thousands. Would you (and/or David) mind sharing you
configuration file ? (the one created at the root of the package
cache, don't remember the name). The point is not that I don't believe
you, I just want to *know*. I guess the difference is that I also
installed other development tools and libraries

>> 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).
>
> What exactly is slow when building Ocaml? make? Can you prove that?

I won't prove that as I've not said *that*. You're talking about
something very specific whereas I said something much more general.
I'd like to say cygwin slowness is universally known but I'd be told
I'm not proving anything. The point is that every operation that
requires the cygwin translation layer is slow.
Of course, if you don't use anything ocaml doesn't already provide, it
won't be slow (but that wouldn't prove cygwin is not slow). Now, if
you don't need to deliver/provide/release/... an application that
specifically targets windows, I don't really get why you're running
ocaml on windows, use a real linux installation, get a virtual machine
(virtualbox is great), use ocamljava (which is great !). But anyway.

>> ./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].
>
> Where did you find any ./configure script used for building the native
> Win32 Ocaml?

Again, ocaml is not the only application in the world, nor the *one* I
was referring to. Even though this is the ocaml mailing-list and the
topic is definitely about ocaml, there exist other things with which
ocaml has to interact.
And just for the report, you can run the ./configure scripts (they
don't give you correct results but are mostly working) and, yes, they
are slower.


 ---

Adrien Nader

>
> - Dmitry Bely
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>


  reply	other threads:[~2008-10-14 19:32 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13 23:35 Kuba Ober
2008-10-13 23:47 ` [Caml-list] " Seo Sanghyeon
2008-10-14 21:32   ` Kuba Ober
2008-10-15  9:42     ` David Allsopp
2008-10-15 12:38       ` Kuba Ober
2008-10-15 13:04         ` Seo Sanghyeon
2008-10-15 14:32           ` Kuba Ober
2008-10-14  5:43 ` Elliott Oti
2008-10-14 21:35   ` Kuba Ober
2008-10-14  7:20 ` Sylvain Le Gall
2008-10-14 21:37   ` [Caml-list] " Kuba Ober
2008-10-15  5:52     ` Dmitry Bely
2008-10-15 13:50       ` Kuba Ober
2008-10-14  7:59 ` [Caml-list] " David Allsopp
2008-10-14  8:11   ` Daniel Bünzli
2008-10-14  9:19     ` Sylvain Le Gall
2008-10-14  9:41     ` Re : [Caml-list] " Adrien
2008-10-14 10:13       ` Re : " Sylvain Le Gall
2008-10-14 11:07         ` Re : [Caml-list] " Adrien
2008-10-14 11:23           ` Re : " Sylvain Le Gall
2008-10-14 19:39             ` Re : [Caml-list] " Adrien
2008-10-14 21:41           ` Re : [Caml-list] " Kuba Ober
2008-10-15  9:42             ` David Allsopp
2008-10-15 12:33               ` Kuba Ober
2008-10-14 21:39         ` Kuba Ober
2008-10-14 15:56       ` [Caml-list] " David Allsopp
2008-10-14 17:39       ` Re : " Dmitry Bely
2008-10-14 19:31         ` Adrien [this message]
2008-10-14  9:57     ` Mathias Kende
2008-10-14 21:38   ` Kuba Ober
2008-10-15  0:01     ` Sylvain Le Gall
2008-10-15 12:35       ` [Caml-list] " Kuba Ober
2008-10-15 12:54         ` Dmitry Bely
2008-10-15 13:18           ` Sylvain Le Gall
2008-10-15 14:35           ` [Caml-list] " Kuba Ober
2008-10-15 15:29             ` Dmitry Bely
2008-10-15 16:26               ` Kuba Ober
2008-10-15 16:39                 ` Xavier Leroy
2008-10-15  5:57     ` [Caml-list] " Dmitry Bely
2008-10-15  9:42     ` David Allsopp
2008-10-26 22:07   ` Markus E L
2008-10-14  9:25 ` Sylvain Le Gall
2008-10-14 18:19 ` Cross-compilation (was: Re: [Caml-list] Road to native windows OCaml...) Richard Jones
2008-10-15  0:04   ` Erik de Castro Lopo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=666572260810141231g41c1f887mfaf4484bb9da3eb7@mail.gmail.com \
    --to=camaradetux@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=dmitry.bely@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).