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 TAA02057; Wed, 12 Nov 2003 19:32:39 +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 TAA01712 for ; Wed, 12 Nov 2003 19:32:37 +0100 (MET) Received: from mwinf0603.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.25]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hACIWb102338 for ; Wed, 12 Nov 2003 19:32:37 +0100 (MET) Received: from iliana (AStrasbourg-206-1-23-207.w81-49.abo.wanadoo.fr [81.49.251.207]) by mwinf0603.wanadoo.fr (SMTP Server) with ESMTP id C88592400251; Wed, 12 Nov 2003 19:32:36 +0100 (CET) Received: from luther by iliana with local (Exim 3.36 #1 (Debian)) id 1AJzmm-0004HT-00; Wed, 12 Nov 2003 19:32:12 +0100 Date: Wed, 12 Nov 2003 19:31:57 +0100 To: Dustin Sallings Cc: Richard Jones , John J Lee , caml-list@inria.fr Subject: Re: [Caml-list] Executable size? Message-ID: <20031112183157.GA16395@iliana> References: <20031112173335.GA32347@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i From: Sven Luther X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 sven:01 luther:01 sven:01 luther:01 usr:01 dynamically:01 usr:01 ledit:01 ledit:01 ocamlrun:01 -rwxr-xr-x:01 bin:01 bin:01 bindings:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Nov 12, 2003 at 10:06:52AM -0800, Dustin Sallings wrote: > > On Nov 12, 2003, at 9:33, Richard Jones wrote: > > >Of course you can always use OCaml as a scripting language (ie. tiny > >"executables" preceeded by #!/usr/bin/ocaml), or distribute the > >bytecode, which tends to be small, so you have more choices than the > >languages you've listed above. > > I haven't seen the bytecode be much smaller than native executables: > > -rwx--x--x 1 dustin staff 320900 12 Nov 10:06 parseTimingLog* > -rwx------ 1 dustin staff 306614 12 Nov 09:59 parseTimingLogbc* But then, you can link it dynamically : $ file /usr/bin/ledit /usr/bin/ledit: a /usr/bin/ocamlrun script text executable $ ls -l /usr/bin/ledit -rwxr-xr-x 1 root root 94857 2003-09-30 22:40 /usr/bin/ledit But then, you would only gain for packages using huge C bindings. Friendly, Sven Luther ------------------- 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