[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: when and why did python(-minimal) become essential?



On Mon, Jan 30, 2006 at 12:26:31AM +0100, Emilio Jes??s Gallego Arias wrote:
> Bill Allombert <ballombe@master.debian.org> writes:
> 
> > The only (very minor) drawback is that above haskell scripts when
> > compiled is about 7MB in size, but the huge gain in reliability
> 
> I think you're somewhat joking about using Haskell, but your script
> weights:

> egallego@exodo2:~/tmp$ ls -lh a.out
> -rwxr-xr-x 1 egallego egallego 182K 2006-01-30 00:19 a.out
> 
> This is including all the Haskell runtime. Using a shared runtime
> would be the optimal solution, as the compiled module is about 9Kb
> (without stripping):

Interestingly the size is highly dependent on the architecture:

ballombe@zeta3:~$ ls -l postrm-*
-rwxr-xr-x  1 ballombe ballombe 6960782 Jan 30 14:10 postrm-amd64
-rwxr-xr-x  1 ballombe ballombe  266065 Jan 30 14:09 postrm-i386
ballombe@zeta3:~$ strip postrm*
ballombe@zeta3:~$ ls -l postrm-*
-rwxr-xr-x  1 ballombe ballombe 4702544 Jan 30 14:10 postrm-amd64
-rwxr-xr-x  1 ballombe ballombe  156720 Jan 30 14:10 postrm-i386

(This is sarge ghc6)

> However, AFAIK GHC doesn't support sharing the runtime.

IIRC, The FAQ says the runtime ABI is too fragile to be practical
to have a shared runtime.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here.



Reply to: