From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA08031; Wed, 12 Nov 2003 21:17:51 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA08233 for ; Wed, 12 Nov 2003 21:17:49 +0100 (MET) Received: from cmailm4.svr.pol.co.uk (cmailm4.svr.pol.co.uk [195.92.193.211]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hACKHn109778 for ; Wed, 12 Nov 2003 21:17:49 +0100 (MET) Received: from modem-50.arbok.dialup.pol.co.uk ([217.135.16.50]) by cmailm4.svr.pol.co.uk with esmtp (Exim 4.14) id 1AK1Qy-0007KU-5s for caml-list@inria.fr; Wed, 12 Nov 2003 20:17:48 +0000 Date: Wed, 12 Nov 2003 20:17:43 +0000 (GMT) From: John J Lee X-X-Sender: john@alice To: caml-list@inria.fr Subject: Re: [Caml-list] Executable size? In-Reply-To: <1CB6CB78-1543-11D8-A660-000393CFE6B8@spy.net> Message-ID: References: <1CB6CB78-1543-11D8-A660-000393CFE6B8@spy.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 python:01 exes:01 installer:01 dlls:01 installer:01 exes:01 unpublished:01 python:01 executables:01 nov:01 nov:01 o'caml:02 executable:03 executable:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 12 Nov 2003, Dustin Sallings wrote: [...] > > If you're distributing executables over the internet to people who use > > modems (ie., most people ;-), download size is important. > > -rwx------ 1 dustin staff 42425 12 Nov 10:55 a.out.gz* That's interesting, and I admit I'd forgotten about compression, but if you add standard code to make it a self-extracting archive, you might lose all of the benefit of compression for really small programs (libz.so is around 60k on my machine, dunno about standard Windows self-extracting stuff). But 100k isn't too bad, so it looks like this isn't a significant problem for O'Caml, for most cases. [...] > I wasn't aware you could distribute python exes. That was my point. py2exe and McMillan Installer. I think py2exe actually requires a few DLLs with the .exe, but Installer can generate single .exes (and supports platforms other than Windows). The smallest "hello world" I've seen is 459k, though (that was with some unpublished .exe-creation software). > I have to say I'm really surprised by such a strong emphasis on > executable size. I've been learning various programming languages > specifically because I want to create more reliable applications with > reasonable performance with less effort (both initially and throughout > the lifetime of the application). Most of the time, I don't care about it at all -- would I be using Python if it were otherwise?? But executable size is the only strong push on me to use anything other than Python (there's the pull of functional languages, yes, but that's definitely a pull, not a push :-). John ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners