Re: [dev] What is bad with Python

From: <q_AT_c9x.me>
Date: Wed, 12 Mar 2014 21:49:54 +0100

Hi all,

On Wed, Mar 05, 2014 at 02:49:07PM +0100, Troels Henriksen wrote:
> FRIGN <dev_AT_frign.de> writes:
>
> > Yes, that's a point. Go implements GC and other stuff in the binary,
> > which blows its size up a lot.
>
> (I do not use Go myself, but in the Haskell world we have a similar
> issue - my current project compiles to a statically linked 53MiB binary,
> although this is admittedly with profiling support included.)

Maybe surprisingly, then:

~% cat > t.ml
let () = print_string "hello world\n"
~% ocamlopt -o t t.ml
~% strip t
~% ls -lh t
-rwxr-xr-x 1 xxxx users 124K Mar 12 16:48 t
~% ldd t
        linux-vdso.so.1 (0x00007fffbed70000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fae08f33000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fae08d2f000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fae08987000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fae09234000)
~% ./t
hello world
~%

It does not suck too hard! Does it?

- q
Received on Wed Mar 12 2014 - 21:49:54 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 12 2014 - 22:00:11 CET